VISU::ColoredPrs3d_i
::OnSetInput(bool theReInit)
{
- myPreviousEntity = myEntity;
- myPreviousFieldName = myFieldName;
- myPreviousTimeStampNumber = myTimeStampNumber;
-
bool anIsCreatNew = !IsPipeLineExists();
if(anIsCreatNew)
CreatePipeLine(NULL); // to create proper pipeline
try{
DoSetInput(anIsCreatNew, theReInit);
+ myPreviousEntity = myEntity;
+ myPreviousFieldName = myFieldName;
+ myPreviousTimeStampNumber = myTimeStampNumber;
}catch(std::exception& exc){
INFOS("Follow exception was occured :\n"<<exc.what());
+ OnRestoreInput();
throw;
}catch(...){
INFOS("Unknown exception was occured!");
+ OnRestoreInput();
throw;
}