mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
fix for copying markers to other scenes not working with 10 or more scenes. Regression from r34115.
This commit is contained in:
parent
4aeed148d1
commit
ec3b5d5205
1 changed files with 6 additions and 1 deletions
|
|
@ -1409,6 +1409,11 @@ static int ed_marker_make_links_scene_exec(bContext *C, wmOperator *op)
|
|||
return OPERATOR_FINISHED;
|
||||
}
|
||||
|
||||
static int ed_marker_make_links_scene_invoke_wrapper(bContext *C, wmOperator *op, wmEvent *evt)
|
||||
{
|
||||
return ed_markers_opwrap_invoke_custom(C, op, evt, WM_menu_invoke);
|
||||
}
|
||||
|
||||
static void MARKER_OT_make_links_scene(wmOperatorType *ot)
|
||||
{
|
||||
PropertyRNA *prop;
|
||||
|
|
@ -1420,7 +1425,7 @@ static void MARKER_OT_make_links_scene(wmOperatorType *ot)
|
|||
|
||||
/* api callbacks */
|
||||
ot->exec = ed_marker_make_links_scene_exec;
|
||||
ot->invoke = ed_markers_opwrap_invoke;
|
||||
ot->invoke = ed_marker_make_links_scene_invoke_wrapper;
|
||||
ot->poll = ed_markers_poll_selected_markers;
|
||||
|
||||
/* flags */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue