Page MenuHome

Fix T65640: Axis of Custom Shape Bones are drawn in a wrong position.
ClosedPublic

Authored by Germano Cavalcante (mano-wii) on Jun 10 2019, 1:42 AM.

Details

Summary

The problem is that Custom Shape Bones can also have a custom size.
So the pchan->disp_mat doesn't always consider the actual length of the bone.
The proposed solution is to calculate the axes matrix at the drawing pass.

Ref T65640

Diff Detail

Repository
rB Blender

Event Timeline

I'm going to commit a slightly different version where I optimized the matrix mul and only do that if custom bones are effectly used.

This revision is now accepted and ready to land.Feb 20 2020, 12:50 AM