Correctly deinitialize scenegraph nodes that are added at runtime

This commit is contained in:
Alexander Bock
2023-01-21 16:52:14 +01:00
parent db375318d8
commit 59a8a006ee
3 changed files with 12 additions and 26 deletions
-6
View File
@@ -84,12 +84,6 @@ public:
Scene(std::unique_ptr<SceneInitializer> initializer);
virtual ~Scene() override;
/**
* Clear the scene graph,
* i.e. set the root node to nullptr and deallocate all scene graph nodes.
*/
void clear();
/**
* Attach node to the root
*/