Blender Git Commit Log

Git Commits -> Revision 15b37a4

Revision 15b37a4 by Sergey Sharybin (master)
March 19, 2015, 13:28 (GMT)
Speedup for constraints update from python script

General idea is to avoid actual calculation from property update()
callback and tag things for update later instead.

That said, pose constraint flags are now tagged for update and
handled as a part of object update. In the new depsgraph it'll
be a nice dedicated operation node.

Also avoid updating disabled flags for all the modifiers. This
part of the path is not totally optimal since it'll still need
to iterate over bones in order to get pchan, but to optimize it
further would be nice to find a way to avoid pchan requirement
all together.

Reviewers: campbellbarton

Reviewed By: campbellbarton

Differential Revision: https://developer.blender.org/D1191

Commit Details:

Full Hash: 15b37a4a4dc8e3684aa53140e7285eb3deaec52b
Parent Commit: c69b5e0
Lines Changed: +309, -229

7 Modified Paths:

/source/blender/blenkernel/BKE_action.h (+3, -0) (Diff)
/source/blender/blenkernel/intern/action.c (+6, -0) (Diff)
/source/blender/blenkernel/intern/object.c (+5, -1) (Diff)
/source/blender/editors/include/ED_object.h (+3, -0) (Diff)
/source/blender/editors/object/object_constraint.c (+287, -225) (Diff)
/source/blender/makesdna/DNA_action_types.h (+3, -1) (Diff)
/source/blender/makesrna/intern/rna_constraint.c (+2, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021