Merge pull request #9624 from wwmayer/fix_OpenSCAD_cmds
OpenSCAD: Hull/Minkowski also work for a single selected object
This commit is contained in:
@@ -548,7 +548,7 @@ class OpenSCADMeshBoolean:
|
||||
|
||||
class Hull:
|
||||
def IsActive(self):
|
||||
return len(FreeCADGui.Selection.getSelection()) >= 2
|
||||
return len(FreeCADGui.Selection.getSelection()) >= 1
|
||||
|
||||
def Activated(self):
|
||||
import Part
|
||||
@@ -568,7 +568,7 @@ class Hull:
|
||||
|
||||
class Minkowski:
|
||||
def IsActive(self):
|
||||
return len(FreeCADGui.Selection.getSelection()) >= 2
|
||||
return len(FreeCADGui.Selection.getSelection()) >= 1
|
||||
|
||||
def Activated(self):
|
||||
import Part
|
||||
|
||||
Reference in New Issue
Block a user