-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
@pepcots
In the Awake of Root.cpp we are creating the baker house. I took your advice from class and changed the Components work as variants than can hold either Transform or MeshRenderer components for now. The thing is i thought storing these variant components in a std::map would prevent them from being deleted but if i put breakPoints in the destructors of Component, Transform and MeshRenderer they are getting called like crazy. When i exit the scope of Root.cpp all components are presumbaly destroyed but later the transform seems to exist but not the Meshrenderer.
!!! im doing this in the "attempt-Components-with-variants" branch
Metadata
Metadata
Assignees
Labels
No labels
