Maintain center of rotation for compound objects.
This commit is contained in:
committed by
Yorik van Havre
parent
c4bd67724c
commit
fe357336e0
@@ -64,10 +64,12 @@ App::DocumentObjectExecReturn *FeatureCompound::execute(void)
|
||||
result.addCommand(**it2);
|
||||
}
|
||||
}
|
||||
}else
|
||||
} else {
|
||||
return new App::DocumentObjectExecReturn("Not all objects in group are paths!");
|
||||
}
|
||||
}
|
||||
|
||||
result.setCenter(Path.getValue().getCenter());
|
||||
Path.setValue(result);
|
||||
|
||||
return App::DocumentObject::StdReturn;
|
||||
|
||||
Reference in New Issue
Block a user