Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/properties_data_armature.py
| Show First 20 Lines • Show All 242 Lines • ▼ Show 20 Lines | def draw(self, context): | ||||
| pchan = context.active_pose_bone | pchan = context.active_pose_bone | ||||
| mpath = pchan.motion_path if pchan else None | mpath = pchan.motion_path if pchan else None | ||||
| self.draw_settings(context, avs, mpath, bones=True) | self.draw_settings(context, avs, mpath, bones=True) | ||||
| class DATA_PT_custom_props_arm(ArmatureButtonsPanel, PropertyPanel, Panel): | class DATA_PT_custom_props_arm(ArmatureButtonsPanel, PropertyPanel, Panel): | ||||
| COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_EEVEE', 'BLENDER_WORKBENCH'} | COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_EEVEE', 'BLENDER_WORKBENCH','BLENDER_WORKBENCH_NEXT'} | ||||
| _context_path = "object.data" | _context_path = "object.data" | ||||
| _property_type = bpy.types.Armature | _property_type = bpy.types.Armature | ||||
| classes = ( | classes = ( | ||||
| DATA_PT_context_arm, | DATA_PT_context_arm, | ||||
| DATA_PT_skeleton, | DATA_PT_skeleton, | ||||
| DATA_MT_bone_group_context_menu, | DATA_MT_bone_group_context_menu, | ||||
| Show All 12 Lines | |||||