improve progress bar, refactor node destruction, simplify layers export
This commit is contained in:
@@ -442,8 +442,7 @@ void NodePanelBrushPreset::init()
|
||||
if (!m_current)
|
||||
return;
|
||||
int index = m_container->get_child_index(m_current);
|
||||
m_current->destroy_immediate();
|
||||
m_container->remove_child(m_current);
|
||||
m_current->destroy();
|
||||
if (m_container->m_children.empty())
|
||||
{
|
||||
m_current = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user