Adding some components.

This commit is contained in:
2023-11-15 22:14:53 -06:00
parent 6c6203a41d
commit d8bc1d0fe3
18 changed files with 428 additions and 12 deletions

View File

@@ -16,6 +16,7 @@ void SceneItemComponents::removeComponent(
) {
auto it = std::find(components.begin(), components.end(), component);
if(it == components.end()) return; //Not found?
it->get()->dispose();
components.erase(it);
}