BIM: Fix IFC import options dialog not showing until Preferences are opened (#24574)

This commit is contained in:
DONGGEUN YOO
2025-10-11 12:22:55 -04:00
committed by GitHub
parent 557f45587f
commit 911d82f99b

View File

@@ -148,7 +148,7 @@ def get_options(strategy=None, shapemode=None, switchwb=None, silent=False):
switchwb = PARAMS.GetBool("SwitchWB", True)
if silent:
return strategy, shapemode, switchwb
ask = PARAMS.GetBool("AskAgain", False)
ask = PARAMS.GetBool("AskAgain", True)
if ask and FreeCAD.GuiUp:
import FreeCADGui