vini-guerrero / godot_game_tools

This is a blender add-on that contains tools to ease the creation/import process of assets into Godot Game Engine
GNU General Public License v2.0
369 stars 38 forks source link

Initialize Character - Select an armature results in 'NoneType' error #10

Closed chrisphyffer closed 3 years ago

chrisphyffer commented 4 years ago

Hello Guys

This is for the Dev Branch!

I have two issues from the Initialize Character function:

Steps to reproduce: 1.) Load up a blank scene. 2.) Click Initialize Character 3.) Select a mixamo character: (I tried both an animated character and a character in TPose Only)

2

janne-ha commented 4 years ago

I am not getting this error. Do this happen every time so the current Dev is unusable for you? I did notice that my Armature bones didn't get renamed and had to fix it by adding bpy.ops.wm.prepare_mixamo_rig('EXEC_DEFAULT') to line 68 in mixamo_controller.py Screenshot from 2019-12-17 13-30-41

Im in a rush so hopefully this will fix it for now.

chrisphyffer commented 4 years ago

Yeah I get this error every time, so I have to convert to the Master to run some tests Excellent, I will test this dev branch change in a few days to allow you guys some time to spot more potiential issues. thanks!

vini-guerrero commented 3 years ago

Fixed with latest version v2.