Skip to content

Commit

Permalink
0.877
Browse files Browse the repository at this point in the history
  • Loading branch information
wikid24 committed May 7, 2024
1 parent a0a7757 commit 40af0e4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ffxiv_mmd_tools_helper/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
bl_info = {
"name": "FFXIV MMD Tools Helper",
"author": "wikid24",
"version": (0, 876),
"version": (0, 877),
"blender": (2, 80, 0),
"location": "View3D > Sidebar > FFXIV MMD Tools Helper",
"description": "Fork of MMDToolsHelper for FFXIV Models & updated Blender to be compatible with 2.8+",
Expand Down
5 changes: 5 additions & 0 deletions ffxiv_mmd_tools_helper/bone_retargeting_addon.py
Original file line number Diff line number Diff line change
Expand Up @@ -634,6 +634,11 @@ class ART_SetBoneInMapping(bpy.types.Operator):
#bone_name = bpy.props.StringProperty(name="bone_name", update=None, get=None, set=None)
armature_type = bpy.props.StringProperty(name="bone_name", update=None, get=None, set=None)

@classmethod
def poll(cls, context):
obj = context.active_object
return obj is not None and obj.type == 'ARMATURE' and bpy.context.object.mode == 'POSE'

def execute(self, context):

if is_addon_installed():
Expand Down

0 comments on commit 40af0e4

Please sign in to comment.