brush preview on draw/erase switch
This commit is contained in:
@@ -209,6 +209,13 @@ void NodePanelStroke::update_controls()
|
||||
|
||||
m_preview->m_brush = b;
|
||||
m_preview->draw_stroke();
|
||||
|
||||
if (m_brush_thumb->m_path != b->m_brush_thumb_path)
|
||||
m_brush_thumb->set_image(b->m_brush_thumb_path);
|
||||
if (m_dual_brush_thumb->m_path != b->m_dual_thumb_path)
|
||||
m_dual_brush_thumb->set_image(b->m_dual_thumb_path);
|
||||
if (m_pattern_thumb->m_path != b->m_pattern_thumb_path)
|
||||
m_pattern_thumb->set_image(b->m_pattern_thumb_path);
|
||||
}
|
||||
|
||||
void NodePanelStroke::init_fold(const std::string& name)
|
||||
|
||||
Reference in New Issue
Block a user