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>2006-11-07 18:47:10 +0300
committerTon Roosendaal <ton@blender.org>2006-11-07 18:47:10 +0300
commit0de4c3c0eba8c0759dfd09553a551600b0166ef4 (patch)
tree6ca2a8a6848208cd99a5bf8fec3236fb5a5401bc /source/blender/makesdna/DNA_view3d_types.h
parentf34bf8a0cd4f3437f03c1894e507e1b8c2125b9d (diff)
Long wanted feature for animators: option to lock a view to always show
a specific object, so you can see long walkcycles or actions well. Option is per 3d window, in "View Properties" panel. It also can optional lock a view to a single bone even! Temporal movie for fun: http://www.blender.org/bf/0001_0060.avi
Diffstat (limited to 'source/blender/makesdna/DNA_view3d_types.h')
-rw-r--r--source/blender/makesdna/DNA_view3d_types.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_view3d_types.h b/source/blender/makesdna/DNA_view3d_types.h
index be3a5099d7b..11af418a59a 100644
--- a/source/blender/makesdna/DNA_view3d_types.h
+++ b/source/blender/makesdna/DNA_view3d_types.h
@@ -93,13 +93,15 @@ typedef struct View3D {
short persp;
short view;
- struct Object *camera;
+ struct Object *camera, *ob_centre;
struct BGpic *bgpic;
struct View3D *localvd;
struct RenderInfo *ri;
struct RetopoViewData *retopo_view_data;
struct ViewDepths *depths;
+ char ob_centre_bone[32]; /* optional string for armature bone to define centre */
+
/**
* The drawing mode for the 3d display. Set to OB_WIRE, OB_SOLID,
* OB_SHADED or OB_TEXTURED */