add debug GUI render mode (F8)
This commit is contained in:
@@ -96,7 +96,7 @@ static int l_node_destruct(lua::State* L) {
|
||||
engine->getGUI()->postRunnable([node]() {
|
||||
auto parent = node->getParent();
|
||||
if (auto container = dynamic_cast<Container*>(parent)) {
|
||||
container->remove(node);
|
||||
container->remove(node.get());
|
||||
}
|
||||
});
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user