Mwni / blender-animation-retargeting

Add-on for Blender that allows the transfer of animations and poses from one armature to another
484 stars 48 forks source link

old .rtconfig file doesn't work by renaming it to .blend #27

Closed wikid24 closed 1 year ago

wikid24 commented 1 year ago

An old .rtconfig file doesn't work by renaming it to .blend

I didn't create this .rtconfig file it's old but it's used as a template by FFXIV modders to map MMD (Miku Miku Dance) model animations to FFXIV models.

steps to reproduce:

Using an older version of RT addon (apparently the version I have from January 2023, also included) works on the .rtconf file

blender version 3.6.5 LTS

included files:

error message:

Traceback (most recent call last):
  File "C:\Users\wikid\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\blender-animation-retargeting-stable\context.py", line 35, in <lambda>
    target_bone: bpy.props.StringProperty(update=lambda self, ctx: update_ik_limbs(bpy.ctx.object.retargeting_context))
AttributeError: module 'bpy' has no attribute 'ctx'
File "C:\Users\wikid\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\blender-animation-retargeting-stable\context.py", line 35, in <lambda>
Traceback (most recent call last):
  File "C:\Users\wikid\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\blender-animation-retargeting-stable\context.py", line 36, in <lambda>
    origin_bone: bpy.props.StringProperty(update=lambda self, ctx: update_ik_limbs(bpy.ctx.object.retargeting_context))
AttributeError: module 'bpy' has no attribute 'ctx'
File "C:\Users\wikid\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\blender-animation-retargeting-stable\context.py", line 36, in <lambda>
Traceback (most recent call last):
  File "C:\Users\wikid\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\blender-animation-retargeting-stable\context.py", line 35, in <lambda>
    target_bone: bpy.props.StringProperty(update=lambda self, ctx: update_ik_limbs(bpy.ctx.object.retargeting_context))
AttributeError: module 'bpy' has no attribute 'ctx'
File "C:\Users\wikid\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\blender-animation-retargeting-stable\context.py", line 35, in <lambda>
Traceback (most recent call last):
  File "C:\Users\wikid\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\blender-animation-retargeting-stable\context.py", line 36, in <lambda>
    origin_bone: bpy.props.StringProperty(update=lambda self, ctx: update_ik_limbs(bpy.ctx.object.retargeting_context))
AttributeError: module 'bpy' has no attribute 'ctx'
File "C:\Users\wikid\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\blender-animation-retargeting-stable\context.py", line 36, in <lambda>
Traceback (most recent call last):
  File "C:\Users\wikid\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\blender-animation-retargeting-stable\context.py", line 35, in <lambda>
    target_bone: bpy.props.StringProperty(update=lambda self, ctx: update_ik_limbs(bpy.ctx.object.retargeting_context))
AttributeError: module 'bpy' has no attribute 'ctx'
File "C:\Users\wikid\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\blender-animation-retargeting-stable\context.py", line 35, in <lambda>
Traceback (most recent call last):
  File "C:\Users\wikid\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\blender-animation-retargeting-stable\context.py", line 36, in <lambda>
    origin_bone: bpy.props.StringProperty(update=lambda self, ctx: update_ik_limbs(bpy.ctx.object.retargeting_context))
AttributeError: module 'bpy' has no attribute 'ctx'
File "C:\Users\wikid\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\blender-animation-retargeting-stable\context.py", line 36, in <lambda>
Traceback (most recent call last):
  File "C:\Users\wikid\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\blender-animation-retargeting-stable\context.py", line 35, in <lambda>
    target_bone: bpy.props.StringProperty(update=lambda self, ctx: update_ik_limbs(bpy.ctx.object.retargeting_context))
AttributeError: module 'bpy' has no attribute 'ctx'
File "C:\Users\wikid\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\blender-animation-retargeting-stable\context.py", line 35, in <lambda>
Traceback (most recent call last):
  File "C:\Users\wikid\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\blender-animation-retargeting-stable\context.py", line 36, in <lambda>
    origin_bone: bpy.props.StringProperty(update=lambda self, ctx: update_ik_limbs(bpy.ctx.object.retargeting_context))
AttributeError: module 'bpy' has no attribute 'ctx'
File "C:\Users\wikid\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\blender-animation-retargeting-stable\context.py", line 36, in <lambda>
Traceback (most recent call last):
  File "C:\Users\wikid\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\blender-animation-retargeting-stable\savefile.py", line 28, in execute
    load_serialized_state(context.object.retargeting_context, json.load(f))
  File "C:\Users\wikid\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\blender-animation-retargeting-stable\savefile.py", line 103, in load_serialized_state
    ctx.setting_correct_feet = data['setting_correct_feet']
KeyError: 'setting_correct_feet'