{
if (QString(theMessage->eventID().eventText()) == EVENT_FEATURE_UPDATED)
{
- myModule->visualizePreview(true);
+ const Model_FeatureUpdatedMessage* aUpdMsg = dynamic_cast<const Model_FeatureUpdatedMessage*>(theMessage);
+ boost::shared_ptr<ModelAPI_Feature> aFeature = aUpdMsg->feature();
+ myModule->visualizePreview(aFeature, true);
}
}