Blender Git Commit Log

Git Commits -> Revision 9fa408f

Revision 9fa408f by Sergey Sharybin (master)
December 10, 2018, 14:59 (GMT)
Fix T58928: New Action causes crash when duplicating bone

Basically, armature update is not supposed to be run in edit mode.
This worked in master and new dependency graph because nobody was
tagging armature for an update.

But with all those copy-on-write and other things we can't ensure
tag doesn't happen (and we shouldn't). So now we ensure unwanted
code is not run from the code itself.

P.S. Deeper reason of this goes to the optimization of not updating
pose channels when in edit mode. Since pose doesn't define anything
there we don't want to be bothered with a pose update after every
operation which changes it.

Commit Details:

Full Hash: 9fa408f51b70169d4e1ecf0801a3b9f726a9530b
Parent Commit: d7e7c4d
Lines Changed: +30, -8

1 Modified Path:

/source/blender/blenkernel/intern/armature_update.c (+30, -8) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021