Browse Source

Fix for hsBounds asserts

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

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

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

Loading…
Cancel
Save