Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Gavrilov <angavrilov@gmail.com>2018-07-09 22:25:44 +0300
committerAlexander Gavrilov <angavrilov@gmail.com>2018-08-13 20:37:53 +0300
commit2aa26de378a6afd64257a79444af932d3e054558 (patch)
treedfeaa224b2b2a6f2e11f4371a8717c45d5c40181 /source/blender/makesdna/DNA_constraint_types.h
parent47af343b6137e4290cc4a842daac25ff8d8cb65f (diff)
Use full transformation of B-Bone segments in Copy Transforms.
Currently constraints can only read the location along the spline. This obviously limits opportunities for complex bone interactions in rigs. This patch exposes access to rotation and scale as well in Copy Transforms. However, due to the way how things work, this data cannot be smoothly interpolated, and abruptly changes when switching to the next segment. Reviewers: aligorith Differential Revision: https://developer.blender.org/D3545
Diffstat (limited to 'source/blender/makesdna/DNA_constraint_types.h')
-rw-r--r--source/blender/makesdna/DNA_constraint_types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_constraint_types.h b/source/blender/makesdna/DNA_constraint_types.h
index e118fd39bb1..50f0b550201 100644
--- a/source/blender/makesdna/DNA_constraint_types.h
+++ b/source/blender/makesdna/DNA_constraint_types.h
@@ -528,6 +528,8 @@ typedef enum eBConstraint_Flags {
CONSTRAINT_BBONE_SHAPE = (1<<10),
/* That constraint has been inserted in local override (i.e. it can be fully edited!). */
CONSTRAINT_STATICOVERRIDE_LOCAL = (1 << 11),
+ /* use full transformation (not just segment locations) - only set at runtime */
+ CONSTRAINT_BBONE_SHAPE_FULL = (1 << 12),
} eBConstraint_Flags;
/* bConstraint->ownspace/tarspace */