From 5f4f75c51a511f4f190c16eedfc4c04c3b9aa387 Mon Sep 17 00:00:00 2001 From: Mitchell Stokes Date: Sun, 3 Jul 2011 01:59:17 +0000 Subject: BGE Animations: Adding in layer weights to allow for layer blending. --- source/blender/makesdna/DNA_actuator_types.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source/blender/makesdna/DNA_actuator_types.h') diff --git a/source/blender/makesdna/DNA_actuator_types.h b/source/blender/makesdna/DNA_actuator_types.h index 071f66cddd6..93db8340aac 100644 --- a/source/blender/makesdna/DNA_actuator_types.h +++ b/source/blender/makesdna/DNA_actuator_types.h @@ -59,8 +59,9 @@ typedef struct bActionActuator { short layer; /* Animation layer */ short end_reset; /* Ending the actuator (negative pulse) wont reset the the action to its starting frame */ short strideaxis; /* Displacement axis */ - short pad[3]; + short pad; float stridelength; /* Displacement incurred by cycle */ // not in use + float layer_weight; /* How much of the previous layer to use for blending. (<0 = disable, 0 = add mode) */ } bActionActuator; typedef struct Sound3D -- cgit v1.2.3