//if(MYDEBUG) PrintCache();
aPrs3d->SameAs(thePrs);
- aPrs3d->UpdateActors();
+
+ // special case for deformed shape
+ VISU::ScalarMapOnDeformedShape_i* dShape =
+ dynamic_cast<VISU::ScalarMapOnDeformedShape_i*>( aPrs3d.get() );
+ if ( dShape && dShape->GetScalarTimeStampNumber() != theInput.myTimeStampNumber )
+ {
+ dShape->SetScalarField( dShape->GetScalarEntity(),
+ dShape->GetFieldName(), theInput.myTimeStampNumber );
+ }
+
if(CORBA::is_nil(theView3D))
return false;
aPrs3d->SetActiveState(true);
}
+
+ aPrs3d->UpdateActors();
ProcessVoidEvent(new TRenderEvent(aViewWindow));
//aViewWindow->getRenderWindow()->Render();
return true;