Fix Platform Transition Errors #1
@ -9,7 +9,7 @@ from math import cos, sin, pi
|
||||
|
||||
def create_widget(name):
|
||||
"""Create an empty widget object and return the object"""
|
||||
prefs = bpy.context.preferences.addons["add_camera_rigs"].preferences
|
||||
prefs = bpy.context.preferences.addons[__package__].preferences
|
||||
widget_prefix = prefs.widget_prefix
|
||||
obj_name = widget_prefix + name
|
||||
scene = bpy.context.scene
|
||||
|
@ -7,7 +7,7 @@ from bpy.props import StringProperty
|
||||
|
||||
|
||||
class AddCameraRigsPreferences(AddonPreferences):
|
||||
bl_idname = 'add_camera_rigs'
|
||||
bl_idname = __package__
|
||||
|
||||
# Widget prefix
|
||||
widget_prefix: StringProperty(
|
||||
|
Loading…
Reference in New Issue
Block a user