drivers error
CrazyHentai opened this issue · 1 comments
CrazyHentai commented
bpy.ops.object.armature_add(enter_editmode=False, align='WORLD', location=(0, 0, 0), scale=(1, 1, 1))
bpy.ops.object.editmode_toggle()
bpy.ops.object.editmode_toggle()
bpy.ops.object.editmode_toggle()
bpy.ops.object.editmode_toggle()
bpy.ops.gamerig.unity_mechanim_d_human_metarig_add()
bpy.ops.ui.copy_as_driver_button()
bpy.ops.object.posemode_toggle()
bpy.ops.object.posemode_toggle()
bpy.context.space_data.context = 'DATA'
bpy.ops.object.select_all(action='DESELECT')
bpy.ops.object.transform_apply(location=False, rotation=True, scale=False)
bpy.ops.object.editmode_toggle()
bpy.ops.object.editmode_toggle()
bpy.ops.object.join()
bpy.ops.object.delete()
bpy.ops.object.editmode_toggle()
bpy.ops.object.editmode_toggle()
bpy.ops.object.editmode_toggle()
bpy.ops.object.editmode_toggle()
Python: Traceback (most recent call last):
File "C:\Users\Administrator\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\gamerig\ui.py", line 662, in execute
error = generate.generate_rig(context, context.object)
File "C:\Users\Administrator\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\gamerig\generate.py", line 386, in generate_rig
raise e
File "C:\Users\Administrator\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\gamerig\generate.py", line 331, in generate_rig
copy_attributes(d1.driver, d2.driver)
AttributeError: 'list' object has no attribute 'driver'
location: <unknown location>:-1
SAM-tak commented
it maybe fixed.
please try latest release!
https://github.com/SAM-tak/BlenderGameRig/releases/tag/v1.4.1