screen space pattern failed, needs screen space uv coordinate on CompDraw shader

This commit is contained in:
2019-02-22 10:44:08 +01:00
parent eab6e68534
commit e63fcf018e
9 changed files with 16 additions and 0 deletions

View File

@@ -250,6 +250,7 @@ void NodePanelStroke::init_controls()
};
m_brush_popup->on_brush_changed = [this](Node*, int index) {
m_dual_enabled->set_value(true, true);
if (on_dual_changed)
on_dual_changed(this, m_brush_popup->get_texture_path(index), m_brush_popup->get_thumb_path(index));
m_dual_brush_thumb->set_image(m_brush_popup->get_thumb_path(index));