mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
uninitialized variables-navigation
This commit is contained in:
parent
f52c3d5ed2
commit
a46bf3d7e5
|
|
@ -45,6 +45,7 @@ duDebugDrawTorque::duDebugDrawTorque()
|
|||
mCurrColor = 0;
|
||||
mOverrideColor = 0;
|
||||
mOverride = false;
|
||||
dMemset(&mStore, 0, sizeof(mStore));
|
||||
}
|
||||
|
||||
duDebugDrawTorque::~duDebugDrawTorque()
|
||||
|
|
|
|||
|
|
@ -125,7 +125,6 @@ protected:
|
|||
GFXStateBlockRef mZDisableSB;
|
||||
GFXStateBlockRef mZEnableSB;
|
||||
|
||||
bool mSavedDrag;
|
||||
bool mIsDirty;
|
||||
|
||||
String mMode;
|
||||
|
|
@ -169,15 +168,13 @@ protected:
|
|||
class GuiNavEditorUndoAction : public UndoAction
|
||||
{
|
||||
public:
|
||||
GuiNavEditorUndoAction(const UTF8* actionName) : UndoAction(actionName)
|
||||
GuiNavEditorUndoAction(const UTF8* actionName) : UndoAction(actionName), mNavEditor(NULL), mObjId(NULL)
|
||||
{
|
||||
}
|
||||
|
||||
GuiNavEditorCtrl *mNavEditor;
|
||||
|
||||
SimObjectId mObjId;
|
||||
F32 mMetersPerSegment;
|
||||
U32 mSegmentsPerBatch;
|
||||
|
||||
virtual void undo();
|
||||
virtual void redo() { undo(); }
|
||||
|
|
|
|||
|
|
@ -213,6 +213,7 @@ NavMesh::NavMesh()
|
|||
mAlwaysRender = false;
|
||||
|
||||
mBuilding = false;
|
||||
mCurLinkID = 0;
|
||||
}
|
||||
|
||||
NavMesh::~NavMesh()
|
||||
|
|
|
|||
|
|
@ -166,14 +166,14 @@ public:
|
|||
|
||||
/// @name Annotations
|
||||
/// @{
|
||||
|
||||
/* not implemented
|
||||
/// Should we automatically generate jump-down links?
|
||||
bool mJumpDownLinks;
|
||||
/// Height of a 'small' jump link.
|
||||
F32 mJumpLinkSmall;
|
||||
/// Height of a 'large' jump link.
|
||||
F32 mJumpLinkLarge;
|
||||
|
||||
*/
|
||||
/// Distance to search for cover.
|
||||
F32 mCoverDist;
|
||||
|
||||
|
|
|
|||
|
|
@ -70,6 +70,7 @@ NavPath::NavPath() :
|
|||
mRenderSearch = false;
|
||||
|
||||
mQuery = NULL;
|
||||
mStatus = DT_FAILURE;
|
||||
}
|
||||
|
||||
NavPath::~NavPath()
|
||||
|
|
|
|||
Loading…
Reference in a new issue