mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-20 15:13:45 +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;
|
||||
|
||||
// We don't need to render if all the meshes are forced hidden.
|
||||
if ( mMeshHidden.testAll() )
|
||||
if ( mMeshHidden.getSize() > 0 && mMeshHidden.testAll() )
|
||||
return;
|
||||
|
||||
// If we're rendering shadows don't render the mounted
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue