Make `draw_armature()` abort in case pose is not up-to-date.
authorBastien Montagne <montagne29@wanadoo.fr>
Thu, 19 Jul 2018 14:52:49 +0000 (16:52 +0200)
committerBastien Montagne <montagne29@wanadoo.fr>
Fri, 20 Jul 2018 08:22:06 +0000 (10:22 +0200)
commit2de283615f081fa76fb05ac0bf81f831651f9e51
tree2802d27f3bc0ce55b9a5b56722a5efa3ada3c29b
parentc205de020365eddbbc0f0cde0ad02dda91126807
Make `draw_armature()` abort in case pose is not up-to-date.

Previously it was calling `BKE_pose_rebuild()`, such thing shall never
be called from drawing code! Hopefully this now works as expected and
that horrible hack is not needed anymore.
source/blender/draw/intern/draw_armature.c