mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-29 16:25:42 +00:00
Merge pull request #236 from DavidWyand-GG/HiddenMesh
Change ShapeBase to only test if available meshes
This commit is contained in:
commit
1eecbff2b7
1 changed files with 1 additions and 1 deletions
|
|
@ -2582,7 +2582,7 @@ void ShapeBase::_prepRenderImage( SceneRenderState *state,
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// We don't need to render if all the meshes are forced hidden.
|
// We don't need to render if all the meshes are forced hidden.
|
||||||
if ( mMeshHidden.testAll() )
|
if ( mMeshHidden.getSize() > 0 && mMeshHidden.testAll() )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// If we're rendering shadows don't render the mounted
|
// If we're rendering shadows don't render the mounted
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue