Fix Platform Transition Errors #1

Merged
Nika Kutsniashvili merged 2 commits from :fix-transition-errors into main 2024-05-17 15:33:57 +02:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 21c6309b26 - Show all commits

View File

@ -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

View File

@ -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(