Reordering initialization methods #1912

This commit is contained in:
Masquara 2017-04-11 00:45:02 -04:00
parent e724b2fcdd
commit 970dd5c477
70 changed files with 207 additions and 205 deletions

View file

@ -95,12 +95,12 @@ GuiEditCtrl::GuiEditCtrl()
mDragBeginPoint( -1, -1 ),
mSnapToControls( true ),
mSnapToEdges( true ),
mSnapToCenters( true ),
mSnapToGuides( true ),
mSnapToCenters( true ),
mSnapToCanvas( true ),
mSnapSensitivity( 2 ),
mFullBoxSelection( false ),
mDrawBorderLines( true ),
mFullBoxSelection( false ),
mSnapSensitivity( 2 ),
mDrawGuides( true )
{
VECTOR_SET_ASSOCIATION( mSelectedControls );

View file

@ -63,28 +63,28 @@ GuiShapeEdPreview::GuiShapeEdPreview()
: mOrbitDist( 5.0f ),
mMoveSpeed ( 1.0f ),
mZoomSpeed ( 1.0f ),
mModel( NULL ),
mGridDimension( 30, 30 ),
mModel( NULL ),
mRenderGhost( false ),
mRenderNodes( false ),
mRenderBounds( false ),
mRenderObjBox( false ),
mRenderMounts( true ),
mSunDiffuseColor( 255, 255, 255, 255 ),
mSunAmbientColor( 140, 140, 140, 255 ),
mSelectedNode( -1 ),
mSunAmbientColor( 140, 140, 140, 255 ),
mHoverNode( -1 ),
mSelectedObject( -1 ),
mSelectedObjDetail( 0 ),
mUsingAxisGizmo( false ),
mGizmoDragID( 0 ),
mSelectedObjDetail( 0 ),
mEditingSun( false ),
mGizmoDragID( 0 ),
mTimeScale( 1.0f ),
mActiveThread( -1 ),
mLastRenderTime( 0 ),
mFakeSun( NULL ),
mSunRot( 45.0f, 0, 135.0f ),
mLastRenderTime( 0 ),
mCameraRot( 0, 0, 3.9f ),
mSunRot( 45.0f, 0, 135.0f ),
mRenderCameraAxes( false ),
mOrbitPos( 0, 0, 0 ),
mFixedDetail( true ),

View file

@ -45,8 +45,8 @@ ConsoleDocClass( GuiInspectorField,
GuiInspectorField::GuiInspectorField( GuiInspector* inspector,
GuiInspectorGroup* parent,
AbstractClassRep::Field* field )
: mInspector( inspector ),
mParent( parent ),
: mParent( parent ),
mInspector( inspector ),
mField( field ),
mFieldArrayIndex( NULL ),
mEdit( NULL )
@ -66,12 +66,12 @@ GuiInspectorField::GuiInspectorField( GuiInspector* inspector,
//-----------------------------------------------------------------------------
GuiInspectorField::GuiInspectorField()
: mInspector( NULL ),
mParent( NULL ),
: mParent( NULL ),
mInspector( NULL ),
mField( NULL ),
mEdit( NULL ),
mField( NULL ),
mFieldArrayIndex( NULL ),
mCaption( StringTable->EmptyString() ),
mFieldArrayIndex( NULL ),
mHighlighted( false )
{
setCanSave( false );