kopia lustrzana https://github.com/vilemduha/blendercam
Preference Reference Repair
rodzic
8ed250c914
commit
108c6da2b3
|
|
@ -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")
|
||||
|
||||
|
|
|
|||
|
|
@ -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")
|
||||
|
||||
|
|
|
|||
Ładowanie…
Reference in New Issue