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:
authorCody Winchester <CodyWinch>2020-03-27 12:27:00 +0300
committerBastien Montagne <b.mont29@gmail.com>2020-03-27 12:42:40 +0300
commitba1f7acc3f5091398c0c1f2eaabfd7546dde39f8 (patch)
treebe2e55360ed151a3714ce73e1d29ad3f0d0a46a3 /source/blender/makesdna
parent3441862c96d6d08b87ad00040e5349af6f28dc9e (diff)
Warp modifier: add bone from and bone to options when using armature objects
This commit adds the option to use armature bones for the From and To targets when using armature objects. The changes are based on the UV Warp modifier. Reviewed By: mont29 Differential Revision: https://developer.blender.org/D6820
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r--source/blender/makesdna/DNA_modifier_types.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_modifier_types.h b/source/blender/makesdna/DNA_modifier_types.h
index 5213dba6c79..405f12d5fb9 100644
--- a/source/blender/makesdna/DNA_modifier_types.h
+++ b/source/blender/makesdna/DNA_modifier_types.h
@@ -1324,6 +1324,11 @@ typedef struct WarpModifierData {
struct Object *object_from;
struct Object *object_to;
+ /** Optional name of bone target, MAX_ID_NAME-2. */
+ char bone_from[64];
+ /** Optional name of bone target, MAX_ID_NAME-2. */
+ char bone_to[64];
+
struct CurveMapping *curfalloff;
/** Optional vertexgroup name, MAX_VGROUP_NAME. */
char defgrp_name[64];