jasongzy commited on
Commit
60e2a4a
Β·
1 Parent(s): 8080e63

πŸ¦„ refactor: misc

Browse files
{animation β†’ animation_extra}/a-pose.fbx RENAMED
File without changes
{animation β†’ animation_extra}/da-pose.fbx RENAMED
File without changes
vroid2mixamo.py CHANGED
@@ -236,6 +236,7 @@ if __name__ == "__main__":
236
  armature_obj.rotation_mode = "XYZ"
237
  armature_obj.rotation_euler[0] = -math.pi / 2
238
  bpy.context.view_layer.objects.active = armature_obj
 
239
  bpy.ops.object.transform_apply(location=False, rotation=True, scale=True)
240
  armature_obj.scale = (0.01, 0.01, 0.01)
241
  armature_obj.rotation_euler[0] = math.pi / 2
 
236
  armature_obj.rotation_mode = "XYZ"
237
  armature_obj.rotation_euler[0] = -math.pi / 2
238
  bpy.context.view_layer.objects.active = armature_obj
239
+ armature_obj.select_set(state=True)
240
  bpy.ops.object.transform_apply(location=False, rotation=True, scale=True)
241
  armature_obj.scale = (0.01, 0.01, 0.01)
242
  armature_obj.rotation_euler[0] = math.pi / 2