Page MenuHome

Clarification of PoseBone.matrix_{basis,channel} property descriptions.
Needs RevisionPublic

Authored by Sybren A. Stüvel (sybren) on Aug 4 2015, 9:36 AM.

Details

Summary

The original matrix_channel description didn't include the fact that the
property is read-only.

The original matrix_basis description stated it was an alternative
access, but didn't mention alternative to /what/.

Diff Detail

Repository
rB Blender
Branch
sybren-matrix-doc

Event Timeline

Sybren A. Stüvel (sybren) retitled this revision from to Clarification of PoseBone.matrix_{basis,channel} property descriptions..
Sybren A. Stüvel (sybren) updated this object.
Joshua Leung (aligorith) requested changes to this revision.Aug 25 2015, 1:05 PM
Joshua Leung (aligorith) edited edge metadata.
Joshua Leung (aligorith) added inline comments.
source/blender/makesrna/intern/rna_pose.c
880
  • Tooltips should start with a capital
  • Since you're making changes here, it's actually not correct that chan_mat is "before constraints".

During the pose evaluation process (i.e. when constraints are being evaluated) this is true. However, once the last step before pose evaluation is completed, chan_mat gets populated with the "deform matrices" that the armature modifier uses instead (see blenkernel/armature.c 2163).

This revision now requires changes to proceed.Aug 25 2015, 1:05 PM
source/blender/makesrna/intern/rna_pose.c
880

Are any Python scripts run in between those two processes? If not, then Python scripts only see one of the two uses, and we can keep things simple.

source/blender/makesrna/intern/rna_pose.c
880

Nope. Python scripts don't get run. The only case where that may apply is if PyConstraints come back... but then how it works remains to be seen