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>2018-05-29 12:47:47 +0300
committerJoshua Leung <aligorith@gmail.com>2018-06-02 21:03:29 +0300
commitd1e3ba22a03c5b30b39acbf6ea66978379e116d6 (patch)
tree5645006a560d5517a92e8e70c6026d82926d9e5c /source/blender/editors/space_action/action_draw.c
parent6de656b4f2ac66922d34bedbeb8f857bc878c5ae (diff)
Collections: Initial support for animating/driving collection properties (T55233)tmp-CollectionsAnim
(Just committing this now to a temp branch so that I can continue working on this from another machine later. This is a re-based+squashed, re-pushed version of what I just pushed earlier, but now based on current 2.8 code, not from several days ago) Rationale: The Spring team needs a way to hide objects from the viewport, so that parts of the rig can be enabled/disabled per shot. An example of this is how the cornea meshes are typically hidden from the viewport so that the animators can see the irises, and hence, where the character is looking. (Another reason we may want this in future is to make it so that a bunch of objects/rigs can be keyframed together in the same action, making it easier to manage their actions) Status: * Currently all necessary data and animation editor support changes should be in place and working. Hopefully I haven't missed any - the checklist may need updating for 2.8 * Depsgraph support however is still incomplete. We still need to figure out what needs to happen with the animated values to make objects actually appear/disappear when triggered via the animation system, just like they do now from the UIwip
Diffstat (limited to 'source/blender/editors/space_action/action_draw.c')
-rw-r--r--source/blender/editors/space_action/action_draw.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/space_action/action_draw.c b/source/blender/editors/space_action/action_draw.c
index 3e9b742480a..8ce2288dbd3 100644
--- a/source/blender/editors/space_action/action_draw.c
+++ b/source/blender/editors/space_action/action_draw.c
@@ -243,6 +243,7 @@ void draw_channel_strips(bAnimContext *ac, SpaceAction *saction, ARegion *ar)
break;
}
case ANIMTYPE_SCENE:
+ case ANIMTYPE_COLLECTION:
case ANIMTYPE_OBJECT:
{
immUniformColor3ubvAlpha(col1b, sel ? 0x45 : 0x22);