Path changes
* Relaxed valid base shape requirement, as long as it can return a shape using part.getShape() * Improve ViewProviderPath performance by sharing the same selection observer * Relocate libarea binary installation
This commit is contained in:
@@ -104,15 +104,18 @@ class _CommandSelectLoop:
|
||||
FreeCADGui.Selection.addSelection(obj, "Edge" + str(elist.index(e) + 1))
|
||||
|
||||
def formsPartOfALoop(self, obj, sub, names):
|
||||
if names[0][0:4] != 'Edge':
|
||||
if names[0][0:4] == 'Face' and horizontalFaceLoop(obj, sub, names):
|
||||
try:
|
||||
if names[0][0:4] != 'Edge':
|
||||
if names[0][0:4] == 'Face' and horizontalFaceLoop(obj, sub, names):
|
||||
return True
|
||||
return False
|
||||
if len(names) == 1 and horizontalEdgeLoop(obj, sub):
|
||||
return True
|
||||
return False
|
||||
if len(names) == 1 and horizontalEdgeLoop(obj, sub):
|
||||
if len(names) == 1 or names[1][0:4] != 'Edge':
|
||||
return False
|
||||
return True
|
||||
if len(names) == 1 or names[1][0:4] != 'Edge':
|
||||
except Exception:
|
||||
return False
|
||||
return True
|
||||
|
||||
|
||||
if FreeCAD.GuiUp:
|
||||
|
||||
Reference in New Issue
Block a user