Fix apply() method not called consistently
The python console commands where not consistenly reported because the apply function was not called or not implemented. The function is now called from the base class and also when a subfeature is closed in MultiTransform. Some missing properties are also added.
This commit is contained in:
@@ -554,6 +554,7 @@ TaskDlgTransformedParameters::TaskDlgTransformedParameters(ViewProviderTransform
|
||||
bool TaskDlgTransformedParameters::accept()
|
||||
{
|
||||
parameter->exitSelectionMode();
|
||||
parameter->apply();
|
||||
|
||||
return TaskDlgFeatureParameters::accept ();
|
||||
}
|
||||
@@ -562,6 +563,7 @@ bool TaskDlgTransformedParameters::reject()
|
||||
{
|
||||
// ensure that we are not in selection mode
|
||||
parameter->exitSelectionMode();
|
||||
|
||||
return TaskDlgFeatureParameters::reject ();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user