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>2011-02-26 13:41:59 +0300
committerJoshua Leung <aligorith@gmail.com>2011-02-26 13:41:59 +0300
commitabecdac41e76ca40919d5b538fb5179686fd72d1 (patch)
tree41c214914160208876bc437486ad77cbd20d4235 /source/blender
parent7a55884b627e62951c62630fae10eeab569fe3af (diff)
Bugfix: In Action Editor, when "show pose markers" was enabled, all
markers were always drawn as local pose-markers, even when they were not.
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/editors/space_action/space_action.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_action/space_action.c b/source/blender/editors/space_action/space_action.c
index b08ddfbcba9..3e25df634e5 100644
--- a/source/blender/editors/space_action/space_action.c
+++ b/source/blender/editors/space_action/space_action.c
@@ -193,7 +193,7 @@ static void action_main_area_draw(const bContext *C, ARegion *ar)
/* markers */
UI_view2d_view_orthoSpecial(ar, v2d, 1);
- flag = (saction->flag & SACTION_POSEMARKERS_SHOW)? DRAW_MARKERS_LOCAL : 0;
+ flag = (ac.markers && (ac.markers != &ac.scene->markers))? DRAW_MARKERS_LOCAL : 0;
draw_markers_time(C, flag);
/* preview range */