Use words_separated instead of mixedCase for common functions
This commit is contained in:
8
gui.py
8
gui.py
@ -20,8 +20,8 @@ class DATA_PT_DSPLPanel(bpy.types.Panel):
|
||||
# Detect Armature object and parent
|
||||
armature_layout = dspl_panel_layout.column(align=True)
|
||||
active_obj = context.active_object
|
||||
arm_object, pose_library = getArmatureData(context)
|
||||
pose_library_action = getArmatureAction(context)
|
||||
arm_object, pose_library = get_armature_data(context)
|
||||
pose_library_action = get_armature_action(context)
|
||||
|
||||
if arm_object:
|
||||
if arm_object == active_obj:
|
||||
@ -147,7 +147,7 @@ class OBJECT_MT_AddPoseMenu(bpy.types.Menu):
|
||||
bl_label = "Add Pose"
|
||||
|
||||
def draw(self, context):
|
||||
arm_object, pose_library = getArmatureData(context)
|
||||
arm_object, pose_library = get_armature_data(context)
|
||||
|
||||
dspl_add_menu_layout = self.layout
|
||||
dspl_add_menu_layout.operator(
|
||||
@ -162,7 +162,7 @@ class OBJECT_MT_ReplacePoseMenu(bpy.types.Menu):
|
||||
bl_label = "Add Pose"
|
||||
|
||||
def draw(self, context):
|
||||
arm_object, pose_library = getArmatureData(context)
|
||||
arm_object, pose_library = get_armature_data(context)
|
||||
|
||||
dspl_replace_menu_layout = self.layout
|
||||
for pm in pose_library.pose_markers:
|
||||
|
Reference in New Issue
Block a user