diff --git a/src/tracks/track_object.cpp b/src/tracks/track_object.cpp index f7cefd16e..8c5fd40af 100644 --- a/src/tracks/track_object.cpp +++ b/src/tracks/track_object.cpp @@ -243,9 +243,9 @@ TrackObject::~TrackObject() */ void TrackObject::reset() { - if (m_presentation != NULL) m_presentation->reset(); - - if (m_animator != NULL) m_animator->reset(); + if (m_presentation ) m_presentation->reset(); + if (m_animator ) m_animator->reset(); + if(m_physical_object) m_physical_object->reset(); } // reset // ----------------------------------------------------------------------------