Switched map loops to weakptrs

This commit is contained in:
2024-09-15 07:50:11 -05:00
parent fb8f6e3f95
commit 4065556d4a
6 changed files with 45 additions and 12 deletions

View File

@ -18,7 +18,6 @@ void Camera::onInit() {
}
void Camera::onDispose() {
std::cout << "Camera Disposing" << std::endl;
renderTarget = nullptr;
}

View File

@ -15,7 +15,6 @@ SceneItem::SceneItem(const std::weak_ptr<Scene> scene) :
SceneItemTransform(),
SceneItemComponents()
{
std::cout << "Scene Item Initializing" << std::endl;
SCENE_ITEMS_ACTIVE++;
}
@ -41,6 +40,5 @@ void SceneItem::remove() {
}
SceneItem::~SceneItem() {
std::cout << "Scene Item Disposing" << std::endl;
SCENE_ITEMS_ACTIVE--;
}