//=================================================================================================
void FeaturesPlugin_Translation::performTranslation(const GeomTrsfPtr& theTrsf)
{
- if (!theTrsf)
+ if (!theTrsf) {
+ setError("Invalid transformation.");
return;
+ }
bool isKeepSubShapes = data()->version() == TRANSLATION_VERSION_1;