PartDesign: refactor positionBySketch
Rename it to positionByPrevious. Rewrite. Rewrite SketchBased::transformPlacement.
This commit is contained in:
@@ -124,7 +124,7 @@ App::DocumentObjectExecReturn *Revolution::execute(void)
|
||||
sketchshape.Move(loc);
|
||||
}
|
||||
|
||||
this->positionBySketch();
|
||||
this->positionByPrevious();
|
||||
TopLoc_Location invObjLoc = this->getLocation().Inverted();
|
||||
pnt.Transform(invObjLoc.Transformation());
|
||||
dir.Transform(invObjLoc.Transformation());
|
||||
|
||||
Reference in New Issue
Block a user