Preference Reference Repair

pull/277/head^2
Rob 2024-12-18 10:41:52 -05:00
rodzic 8ed250c914
commit 108c6da2b3
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -251,7 +251,7 @@ def get_bounds(o):
):
o.info.warnings += "Operation Exceeds Your Machine Limits\n"
if not o.info.warnings == "":
addon_prefs = bpy.context.preferences.addons[__package__].preferences
addon_prefs = bpy.context.preferences.addons["bl_ext.user_default.fabex"].preferences
if addon_prefs.show_popups:
bpy.ops.cam.popup("INVOKE_DEFAULT")

Wyświetl plik

@ -246,7 +246,7 @@ def operation_valid(self, context):
o.info.warnings = ""
else:
o.info.warnings = invalidmsg
addon_prefs = bpy.context.preferences.addons[__package__].preferences
addon_prefs = bpy.context.preferences.addons["bl_ext.user_default.fabex"].preferences
if addon_prefs.show_popups:
bpy.ops.cam.popup("INVOKE_DEFAULT")