Fix T45148, stupid own mistake, the two functions are not the same,

shouldn't have collapsed them
This commit is contained in:
Antony Riakiotakis
2015-06-22 19:38:30 +02:00
parent 4faccf0a78
commit a1609791ca

View File

@@ -521,6 +521,9 @@ static int ed_markers_poll_markers_exist(bContext *C)
{
ListBase *markers = ED_context_get_markers(C);
if (ts->lock_markers)
return 0;
/* first things first: markers can only exist in timeline views */
if (ED_operator_animview_active(C) == 0)
return 0;