Fix for Issue #96 for DAE updating crash

This commit is contained in:
DavidWyand-GG 2012-10-17 14:45:13 -04:00
parent 9ed0f467d8
commit 89ad23a925
4 changed files with 22 additions and 2 deletions

View file

@ -42,6 +42,8 @@ class PhysicsWorld
{
protected:
Signal<void()> mStaticChangedSignal;
Signal<void()> mUpdateSignal;
/// The current gravity force.
@ -58,6 +60,9 @@ public:
///
Signal<void()>& getUpdateSignal() { return mUpdateSignal; }
// Called when a static body in the scene has been removed.
Signal<void()>& getStaticChangedSignal() { return mStaticChangedSignal; }
/// Overloaded to do debug drawing.
///
/// It is assumed the GFX state is setup prior to this call for