- incorrect reaction of CubeAxes on Clipping Planes
- incorrect computing of bounds of CubeAxes for SMESH module
{
if ( aSActor->IsResizable() )
aSActor->SetSize( 0.5 * aNewSize );
- if( aSActor->GetVisibility()){
- float abounds[6];
- aSActor->GetBounds(abounds);
+ if( aSActor->GetVisibility() && !aSActor->IsInfinitive()){
+ float *abounds = aSActor->GetBounds();
if(MYDEBUG)
cout << "Bounds: Actor="<<aSActor<<"\n"
<< "\txMin=" << abounds[ 0 ] << " xMax=" << abounds[ 1 ] << "\n"