mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
uninitialized variables-environment and forrest
This commit is contained in:
parent
2c1508c169
commit
1efb687867
20 changed files with 74 additions and 34 deletions
|
|
@ -63,11 +63,12 @@ BasicClouds::BasicClouds()
|
|||
mTypeMask |= EnvironmentObjectType | StaticObjectType;
|
||||
mNetFlags.set(Ghostable | ScopeAlways);
|
||||
|
||||
mTimeSC = 0;
|
||||
mModelViewProjSC = 0;
|
||||
mTexScaleSC = 0;
|
||||
mTexDirectionSC = 0;
|
||||
mTexOffsetSC = 0;
|
||||
mTimeSC = NULL;
|
||||
mModelViewProjSC = NULL;
|
||||
mTexScaleSC = NULL;
|
||||
mTexDirectionSC = NULL;
|
||||
mTexOffsetSC = NULL;
|
||||
mDiffuseMapSC = NULL;
|
||||
|
||||
mLayerEnabled[0] = true;
|
||||
mLayerEnabled[1] = true;
|
||||
|
|
@ -414,4 +415,4 @@ void BasicClouds::_initBuffers()
|
|||
|
||||
mVB[i].unlock();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue