From b4b244c85d8c974c25a91185a955f640cda8aa38 Mon Sep 17 00:00:00 2001 From: Russell Johnson <47639332+Russ4262@users.noreply.github.com> Date: Mon, 1 Jul 2019 20:15:39 -0500 Subject: [PATCH] Fix SetupProperties() property syntax issue fix for SetupProperties() issue presented at: https://forum.freecadweb.org/viewtopic.php?f=15&t=37368#p318253 --- src/Mod/Path/PathScripts/PathPocket.py | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/src/Mod/Path/PathScripts/PathPocket.py b/src/Mod/Path/PathScripts/PathPocket.py index 308fd5166b..835083b2d8 100644 --- a/src/Mod/Path/PathScripts/PathPocket.py +++ b/src/Mod/Path/PathScripts/PathPocket.py @@ -21,12 +21,6 @@ # * USA * # * * # *************************************************************************** -# * * -# * Additional modifications and contributions beginning 2019 * -# * Focus: improve 3D facial pockets * -# * by Russell Johnson * -# * * -# *************************************************************************** import FreeCAD import Part @@ -43,8 +37,8 @@ __url__ = "http://www.freecadweb.org" __doc__ = "Class and implementation of the 3D Pocket operation." __contributors__ = "russ4262 (Russell Johnson)" __created__ = "2014" -__scriptVersion__ = "1a testing" -__lastModified__ = "2019-06-28 23:45 CST" +__scriptVersion__ = "1b testing" +__lastModified__ = "2019-07-01 20:13 CST" LOGLEVEL = False @@ -134,7 +128,7 @@ class ObjectPocket(PathPocketBase.ObjectPocket): def SetupProperties(): - return PathPocketBase.SetupProperties().append("HandleMultipleFeatures") + return PathPocketBase.SetupProperties() + ["HandleMultipleFeatures"] def Create(name, obj=None):