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

@@ -136,7 +136,7 @@ App::DocumentObjectExecReturn *Pipe::execute(void)
try {
//setup the location
this->positionBySketch();
this->positionByPrevious();
TopLoc_Location invObjLoc = this->getLocation().Inverted();
if(!base.IsNull())
base.Move(invObjLoc);