PartDesign: refactor positionBySketch

Rename it to positionByPrevious. Rewrite.
Rewrite SketchBased::transformPlacement.
This commit is contained in:
DeepSOIC
2015-06-30 21:13:19 +03:00
committed by Stefan Tröger
parent 03be8e1bba
commit 4b48362ec6
9 changed files with 39 additions and 32 deletions

View File

@@ -117,7 +117,7 @@ App::DocumentObjectExecReturn *Pocket::execute(void)
SketchVector *= -1;
try {
this->positionBySketch();
this->positionByPrevious();
TopLoc_Location invObjLoc = this->getLocation().Inverted();
base.Move(invObjLoc);