Code

patch from bug 207362
authorbuliabyak <buliabyak@users.sourceforge.net>
Thu, 27 Mar 2008 08:52:41 +0000 (08:52 +0000)
committerbuliabyak <buliabyak@users.sourceforge.net>
Thu, 27 Mar 2008 08:52:41 +0000 (08:52 +0000)
share/extensions/edge3d.py

index 62f84af6324b4ba3c957156f2564f843e42bdcbc..5a77a1a46b384b32d787d2d905985727ba1905aa 100644 (file)
@@ -101,7 +101,7 @@ class Edge3d(inkex.Effect):
                                 result.append((cmd, params))
                         last = params[-2:]
                     if result:
-                        if not g:
+                        if g is None:
                             g = self.getGroup(node)
                         nn = copy.deepcopy(node)
                         nn.set('d',simplepath.formatPath(result))