Skip to content
This repository has been archived by the owner on Dec 3, 2022. It is now read-only.

Commit

Permalink
Bug in Scene destructor -- Druha
Browse files Browse the repository at this point in the history
  • Loading branch information
betajaen committed Oct 25, 2009
1 parent 8b5686c commit c169b7a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion build/source/NxOgreScene.cpp
Expand Up @@ -123,7 +123,12 @@ Scene::Scene(const SceneDescription& description, NxPhysicsSDK* sdk)

Scene::~Scene(void)
{
/// TimeController::getSingleton()->removeListener(this);

TimeController::getSingleton()->mListeners[mProcessingPriority].remove(this);
TimeController::getSingleton()->mListeners[mFetchingPriority].remove(this);

//TimeController::getSingleton()->removeListener(this);

if (mSDK && mScene)
{
mActors.clear();
Expand Down

0 comments on commit c169b7a

Please sign in to comment.