define STBI_NEON on android but disable x86 that's not compatible with the flag on clang

This commit is contained in:
2019-02-27 11:40:46 +01:00
parent 2108441e77
commit d6501293e9
4 changed files with 5 additions and 3 deletions

View File

@@ -415,7 +415,8 @@ void NodePanelBrushPreset::init()
if (!m_current)
return;
int index = m_container->get_child_index(m_current);
m_current->destroy();
m_current->destroy_immediate();
m_container->remove_child(m_current);
if (m_container->m_children.empty())
{
m_current = nullptr;