Browse Source

Merged pull request #28 from boq/master.

hsBounds assert fix
Darryl Pogue 13 years ago
parent
commit
a923cce35d
  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