Fixed duplicate collision calls
This commit is contained in:
parent
2147c2c34b
commit
cc2afbcf9f
|
@ -105,7 +105,6 @@ namespace SHADE
|
||||||
* TODO: Test if the scene graph transforms abides by setting world position. Collisions will ignore the scene graph hierarchy.
|
* TODO: Test if the scene graph transforms abides by setting world position. Collisions will ignore the scene graph hierarchy.
|
||||||
*/
|
*/
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
// Collision & Trigger messages
|
// Collision & Trigger messages
|
||||||
if (scriptingSystem != nullptr)
|
if (scriptingSystem != nullptr)
|
||||||
|
@ -114,5 +113,6 @@ namespace SHADE
|
||||||
// Since this function never runs when editor in not in play, execute the function anyway
|
// Since this function never runs when editor in not in play, execute the function anyway
|
||||||
physicsSystem->collisionListener.CleanContainers();
|
physicsSystem->collisionListener.CleanContainers();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
} // namespace SHADE
|
} // namespace SHADE
|
Loading…
Reference in New Issue