mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-01 03:23:52 +00:00
bounds to mBounds conflict avoidance
This commit is contained in:
parent
f08339c534
commit
242a51eefe
22 changed files with 50 additions and 50 deletions
|
|
@ -347,7 +347,7 @@ bool VolumetricFog::LoadShape()
|
|||
return false;
|
||||
}
|
||||
|
||||
mObjBox = mShape->bounds;
|
||||
mObjBox = mShape->mBounds;
|
||||
mRadius = mShape->radius;
|
||||
resetWorldBox();
|
||||
|
||||
|
|
@ -560,7 +560,7 @@ U32 VolumetricFog::packUpdate(NetConnection *con, U32 mask, BitStream *stream)
|
|||
mShape = ResourceManager::get().load(mShapeName);
|
||||
if (bool(mShape) == false)
|
||||
return retMask;
|
||||
mObjBox = mShape->bounds;
|
||||
mObjBox = mShape->mBounds;
|
||||
mRadius = mShape->radius;
|
||||
resetWorldBox();
|
||||
mObjSize = mWorldBox.getGreatestDiagonalLength();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue