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:
authorTon Roosendaal <ton@blender.org>2005-12-07 18:07:31 +0300
committerTon Roosendaal <ton@blender.org>2005-12-07 18:07:31 +0300
commitfba94ef97ae51b74b4f13d9f3ffc226204330a07 (patch)
treeb21ea0cd6948bdbd76799b169e0e79f49a50d907 /source/blender/makesdna
parent5a514ae20eb4462eaa381e60fb295a65b96bf575 (diff)
Orange: Custom drawing types for bones in Poses!
In Armature Pose-bone panel, the 'hide' button got replaced with a button where you can type (TAB complete works) a name for a Mesh Object. It then draws that Object instead of the indicated bone drawing type. Fixes for bone layers: - Akey in Editmode didnt work proper (now deselects all non visible bones too. selection for editmode works on the vertices, not bones... - Snap in Editmode now respects layers
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r--source/blender/makesdna/DNA_action_types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_action_types.h b/source/blender/makesdna/DNA_action_types.h
index db9926d4653..d0944820887 100644
--- a/source/blender/makesdna/DNA_action_types.h
+++ b/source/blender/makesdna/DNA_action_types.h
@@ -36,6 +36,7 @@
struct SpaceLink;
struct ListBase;
+struct Object;
/* PoseChannel stores the results of Actions (ipos) and transform information
with respect to the restposition of Armature bones */
@@ -73,6 +74,7 @@ typedef struct bPoseChannel {
float ikstretch;
float *path; /* totpath x 3 x float */
+ struct Object *custom; /* draws custom object instead of this channel */
} bPoseChannel;