// Set operation status
anIsOk = true;
- theUpdateFlags = UF_Model | UF_OCCViewer | UF_OCC_Forced;;
+ module()->setIsToUpdate( anObstacle );
+ theUpdateFlags = UF_Model | UF_OCCViewer | UF_OCC_Forced | UF_VTKViewer;
} else {
theErrorMsg = tr( "BAD_IMPORTED_OBSTACLE_FILE" ).arg( aFileName );
}