Browse Source

Fix for hsBounds asserts

Bartek Bok 14 years ago
parent
commit
6a31f19f9c
  1. 5
      Sources/Plasma/PubUtilLib/plPipeline/plDXPipeline.cpp

5
Sources/Plasma/PubUtilLib/plPipeline/plDXPipeline.cpp

@ -9019,7 +9019,10 @@ hsBool plDXPipeline::TestVisibleWorld( const hsBounds3Ext& wBnd )
{
if( fView.fCullTreeDirty )
IRefreshCullTree();
return fView.fCullTree.BoundsVisible(wBnd);
if (wBnd.GetType() == kBoundsNormal)
return fView.fCullTree.BoundsVisible(wBnd);
else
return false;
}
hsBool plDXPipeline::TestVisibleWorld( const plSceneObject* sObj )

Loading…
Cancel
Save