+ fix PartDesign/Pocket direction bug introduced previously

git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5288 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
This commit is contained in:
logari81 2011-12-13 07:12:04 +00:00
parent 22e0d26383
commit 0c7de56369

View File

@ -136,6 +136,7 @@ App::DocumentObjectExecReturn *Pocket::execute(void)
// extrude the face to a solid
gp_Vec vec(SketchVector.x,SketchVector.y,SketchVector.z);
vec.Transform(invObjLoc.Transformation());
BRepPrimAPI_MakePrism PrismMaker(aFace.Moved(invObjLoc),vec,0,1);
if (PrismMaker.IsDone()) {
// if the sketch has a support fuse them to get one result object (PAD!)