Opened 10 years ago
Closed 10 years ago
#2454 closed defect (fixed)
Hawk skeleton has duplicate "Head" bone/joint
Reported by: | historic_bruno | Owned by: | leper |
---|---|---|---|
Priority: | Release Blocker | Milestone: | Alpha 16 |
Component: | Art & Animation | Keywords: | collada |
Cc: | wraitii | Patch: |
Description (last modified by )
This error was reported by IronNerd in IRC (2014-03-09 from 01:22-02:33).
Only debug builds of the game/FCollada will reveal an assertion failure when converting the hawk skeleton to PMD. The cache may need to be deleted to force this. There may be no visible errors, but it should be fixed since it violates the assumption of unique bone names within that array (and probably indicates a broken model or bug in Blender's exporter).
Change History (5)
comment:1 by , 10 years ago
Description: | modified (diff) |
---|
comment:2 by , 10 years ago
Priority: | Should Have → Release Blocker |
---|
comment:3 by , 10 years ago
What's the issue exactly? Because neither hawk collada files have duplicate head joints.
comment:4 by , 10 years ago
If you look at line 428 in meshes/skeletal/hawk.dae, you can see the definition of Armature_Hawk-skin-joints-array
:
<Name_array id="Armature_Hawk-skin-joints-array" count="10">Body Head Head Humerus_R Ulna_R Digit_R Humerus_L Ulna_L Digit_L Tail</Name_array>
Head
is repeated, but those names have to be unique keys. Note also that their order and count is important, and they are all used in the weights array (lines 443-460).
We have had this problem before, it's something to do with the export process and/or skeleton representation in Blender, but I don't remember how to fix it. Contacting Zagg1024 might help, I'm pretty sure he encountered this.
Just caused a crash in a release build w/ VC++ 2008 on Win XP.