Minor bugfix

This commit is contained in:
2020-10-20 22:30:11 +02:00
parent f5c951f130
commit 6f110e9eb9
3 changed files with 19 additions and 14 deletions

View File

@@ -26,8 +26,8 @@ namespace openVulkanoCpp
Utils::Remove(nodes, node);
if (nodes.empty())
{
scene = nullptr;
scene->RemoveDrawable(this);
scene = nullptr;
}
}
}