+ fix command Part_ReverseShape

git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5158 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
This commit is contained in:
wmayer 2011-11-23 09:10:08 +00:00
parent 978392f78a
commit 2a14ddde2d

View File

@ -673,7 +673,7 @@ void CmdPartReverseShape::activated(int iMsg)
const TopoDS_Shape& shape = static_cast<Part::Feature*>(*it)->Shape.getValue();
if (!shape.IsNull()) {
QString str = QString::fromAscii(
"__s__=App.ActiveDocument.%1.Shape\n"
"__s__=App.ActiveDocument.%1.Shape.copy()\n"
"__s__.reverse()\n"
"__o__=App.ActiveDocument.addObject(\"Part::Feature\",\"%1_rev\")\n"
"__o__.Label=\"%2 (Rev)\"\n"