Blender Git Loki

Git Commits -> Revision 1e82089

Revision 1e82089 by Alexander Gavrilov (master)
November 23, 2018, 20:19 (GMT)
Depsgraph: add a new operation node for computing B-Bone segments.

Computing the shape of a B-Bone is a quite expensive operation, and
there are multiple constraints that can access this information in
a variety of useful ways. This means computing the shape once per
bone and saving it is good for performance.

Since the shape may depend on the position of up to two other bones,
often in a "cyclic" manner, this computation has to be a separate
node with its own dependencies.

Reviewers: sergey

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

Commit Details:

Full Hash: 1e820898ff4dfc734710a6640ca7bafc0bfc69db
Parent Commit: e49c66e
Lines Changed: +226, -86

14 Modified Paths:

/source/blender/blenkernel/BKE_action.h (+2, -0) (Diff)
/source/blender/blenkernel/BKE_armature.h (+8, -0) (Diff)
/source/blender/blenkernel/intern/action.c (+18, -0) (Diff)
/source/blender/blenkernel/intern/armature.c (+61, -29) (Diff)
/source/blender/blenkernel/intern/armature_update.c (+17, -0) (Diff)
/source/blender/blenkernel/intern/constraint.c (+11, -21) (Diff)
/source/blender/blenloader/intern/readfile.c (+1, -0) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_nodes_rig.cc (+11, -0) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_relations.cc (+20, -28) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_relations_rig.cc (+49, -7) (Diff)
/source/blender/depsgraph/intern/depsgraph_types.h (+2, -0) (Diff)
/source/blender/depsgraph/intern/depsgraph_type_defines.cc (+1, -0) (Diff)
/source/blender/draw/intern/draw_armature.c (+6, -1) (Diff)
/source/blender/makesdna/DNA_action_types.h (+19, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021