CAM: PathCommands - Remove pop message about loop error

This commit is contained in:
tarman3
2025-11-30 20:08:12 +02:00
parent 46f9cb0ac5
commit b6ae98fa0a

View File

@@ -39,9 +39,8 @@ from PySide.QtCore import QT_TRANSLATE_NOOP
if FreeCAD.GuiUp:
import FreeCADGui
from PySide import QtCore
from PySide import QtGui
# translate = FreeCAD.Qt.translate
translate = FreeCAD.Qt.translate
__title__ = "FreeCAD Path Commands"
__author__ = "sliptonic"
@@ -143,13 +142,7 @@ class _CommandSelectLoop:
FreeCADGui.Selection.addSelection(obj, f"Edge{objEdges.index(eo) + 1}")
return
# Final fallback
if FreeCAD.GuiUp:
QtGui.QMessageBox.information(
None,
QT_TRANSLATE_NOOP("CAM_SelectLoop", "Feature Completion"),
QT_TRANSLATE_NOOP("CAM_SelectLoop", "Closed loop detection failed."),
)
Path.Log.warning(translate("CAM_SelectLoop", "Closed loop detection failed."))
def formsPartOfALoop(self, obj, sub, names):
try: