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:
authorJoshua Leung <aligorith@gmail.com>2007-11-13 14:54:20 +0300
committerJoshua Leung <aligorith@gmail.com>2007-11-13 14:54:20 +0300
commit470a69388f5b34e16bd1fbcb4a9c93c0d3a6892f (patch)
tree8d5874b146f2f638b5c0396713225ebc6db89786 /source/blender/makesdna/DNA_armature_types.h
parente66f325dd7115351a40ddb72af8d347b141886c5 (diff)
== Peach Feature Requests (Bone-Path Drawing) ==
* Added a new option to only calculate a certain number of frames before/after the current frame instead of defining a frame range. This is useful in certain cases on longer timelines, to be able to view the paths for certain regions quicker. * When inserting a keyframe, if a bone already has path drawing on, the path for that bone will get automatically recalculated. More testing is required to see if there are any more cases where this would be useful. Also, a global setting to turn this on/off would be a good idea. Todo (requested but not yet implemented): * Parts of path before/after current frame could get drawn with different colours
Diffstat (limited to 'source/blender/makesdna/DNA_armature_types.h')
-rw-r--r--source/blender/makesdna/DNA_armature_types.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/source/blender/makesdna/DNA_armature_types.h b/source/blender/makesdna/DNA_armature_types.h
index f178820ac02..82d120533d6 100644
--- a/source/blender/makesdna/DNA_armature_types.h
+++ b/source/blender/makesdna/DNA_armature_types.h
@@ -79,10 +79,11 @@ typedef struct bArmature {
short deformflag;
short pathflag;
short layer, layer_protected; /* for buttons to work, both variables in this order together */
- short ghostep, ghostsize; /*number of frames to ghosts to show, and step between them */
+ short ghostep, ghostsize; /* number of frames to ghosts to show, and step between them */
short ghosttype, pathsize; /* ghost drawing options and number of frames between points of path */
int ghostsf, ghostef; /* start and end frames of ghost-drawing range */
- int pathsf, pathef; /* start and end frames of path-calculation range for all bones */
+ int pathsf, pathef; /* start and end frames of path-calculation range for all bones */
+ int pathbc, pathac; /* number of frames before/after current frame of path-calculation for all bones */
}bArmature;
/* armature->flag */
@@ -117,9 +118,10 @@ typedef struct bArmature {
#define ARM_DEF_B_BONE_REST 8
/* armature->pathflag */
-#define ARM_PATH_FNUMS 0x001
-#define ARM_PATH_KFRAS 0x002
-#define ARM_PATH_HEADS 0x004
+#define ARM_PATH_FNUMS (1<<0)
+#define ARM_PATH_KFRAS (1<<1)
+#define ARM_PATH_HEADS (1<<2)
+#define ARM_PATH_ACFRA (1<<3)
/* armature->ghosttype */
#define ARM_GHOST_CUR 0