return false;
}
}
- return true;
+ return GroupPoints->SpinBox_DX->isValid( msg, !IsPreview() );
}
//=================================================================================
for ( int i = 0; i < myObjects.length(); i++ ) {
anObj = GEOM::GEOM_ITransformOperations::_narrow( getOperation() )->OffsetShapeCopy( myObjects[i], GetOffset() );
- if ( !anObj->_is_nil() )
+ if ( !anObj->_is_nil() ) {
+ if(!IsPreview()) {
+ anObj->SetParameters(GroupPoints->SpinBox_DX->text().toLatin1().constData());
+ }
objects.push_back( anObj._retn() );
+ }
}
}
else {