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>2008-12-22 12:43:29 +0300
committerTon Roosendaal <ton@blender.org>2008-12-22 12:43:29 +0300
commit42def9a351a2c2696912288d9f1aed8b658f097c (patch)
treea7b41a8e8bd918e558695a74f311d722814b8ae3 /source/blender/editors/animation/anim_markers.c
parent6d31872298e2f6fd23d06a4ccb792647879163ca (diff)
2.5
Cleanup - for portablity we can keep the old ugly defines for retrieving active object, cfra and so on. But, they will use 'scene' not G.scene. - fixed code that uses those defines. - some unused variables/functions removed
Diffstat (limited to 'source/blender/editors/animation/anim_markers.c')
-rw-r--r--source/blender/editors/animation/anim_markers.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/animation/anim_markers.c b/source/blender/editors/animation/anim_markers.c
index f7d13937075..e6f225dd0f7 100644
--- a/source/blender/editors/animation/anim_markers.c
+++ b/source/blender/editors/animation/anim_markers.c
@@ -362,6 +362,7 @@ int WM_modal_tweak_check(wmEvent *evt, int tweak_event)
static int ed_marker_move_modal(bContext *C, wmOperator *op, wmEvent *evt)
{
+ Scene *scene= CTX_data_scene(C);
MarkerMove *mm= op->customdata;
View2D *v2d= UI_view2d_fromcontext(C);
TimeMarker *marker, *selmarker=NULL;