diff --git a/Engine/source/scene/culling/sceneCullingVolume.h b/Engine/source/scene/culling/sceneCullingVolume.h index 7cc64d1e8..6d3306269 100644 --- a/Engine/source/scene/culling/sceneCullingVolume.h +++ b/Engine/source/scene/culling/sceneCullingVolume.h @@ -75,7 +75,7 @@ class SceneCullingVolume public: /// Create an *uninitialized* culling volume. - SceneCullingVolume() {} + SceneCullingVolume() : mType(Includer), mSortPoint(1.f) {} /// SceneCullingVolume( Type type, const PlaneSetF& planes ) diff --git a/Engine/source/scene/culling/sceneZoneCullingState.h b/Engine/source/scene/culling/sceneZoneCullingState.h index 3420442dd..48494296b 100644 --- a/Engine/source/scene/culling/sceneZoneCullingState.h +++ b/Engine/source/scene/culling/sceneZoneCullingState.h @@ -66,7 +66,7 @@ class SceneZoneCullingState CullingVolumeLink* mNext; CullingVolumeLink( const SceneCullingVolume& volume ) - : mVolume( volume ) {} + : mVolume( volume ) {mNext=NULL;} }; /// Iterator over the culling volumes assigned to a zone. @@ -134,7 +134,7 @@ class SceneZoneCullingState /// Zone states are constructed by SceneCullingState. This constructor should not /// be used otherwise. It is public due to the use through Vector in SceneCullingState. - SceneZoneCullingState() {} + SceneZoneCullingState():mCanShortcuit(false), mCullingVolumes(NULL), mHaveSortedVolumes(false), mHaveIncluders(false), mHaveOccluders(false){} /// Return true if the zone is visible. This is the case if any /// includers have been added to the zone's rendering state. diff --git a/Engine/source/scene/pathManager.h b/Engine/source/scene/pathManager.h index d239c275f..2a9590706 100644 --- a/Engine/source/scene/pathManager.h +++ b/Engine/source/scene/pathManager.h @@ -56,6 +56,7 @@ class PathManager Vector msToNext; PathEntry() { + totalTime = 0; VECTOR_SET_ASSOCIATION(positions); VECTOR_SET_ASSOCIATION(rotations); VECTOR_SET_ASSOCIATION(smoothingType); @@ -105,7 +106,6 @@ class PathManager private: bool mIsServer; - bool mPathsSent; }; struct PathNode {