Merge branch 'blender-v4.2-release'
This commit is contained in:
@@ -1993,7 +1993,7 @@ static int sequencer_meta_make_exec(bContext *C, wmOperator *op)
|
||||
}
|
||||
|
||||
seqm->machine = active_seq ? active_seq->machine : channel_max;
|
||||
BLI_strncpy(seqm->name + 2, "MetaStrip", sizeof(seqm->name) - 2);
|
||||
BLI_strncpy(seqm->name + 2, DATA_("MetaStrip"), sizeof(seqm->name) - 2);
|
||||
SEQ_sequence_base_unique_name_recursive(scene, &ed->seqbase, seqm);
|
||||
seqm->start = meta_start_frame;
|
||||
seqm->len = meta_end_frame - meta_start_frame;
|
||||
|
||||
@@ -15,6 +15,8 @@
|
||||
|
||||
#include "BLI_blenlib.h"
|
||||
|
||||
#include "BLT_translation.hh"
|
||||
|
||||
#include "SEQ_channels.hh"
|
||||
|
||||
ListBase *SEQ_channels_displayed_get(Editing *ed)
|
||||
@@ -33,7 +35,7 @@ void SEQ_channels_ensure(ListBase *channels)
|
||||
for (int i = 0; i < MAXSEQ + 1; i++) {
|
||||
SeqTimelineChannel *channel = static_cast<SeqTimelineChannel *>(
|
||||
MEM_callocN(sizeof(SeqTimelineChannel), "seq timeline channel"));
|
||||
SNPRINTF(channel->name, "Channel %d", i);
|
||||
SNPRINTF(channel->name, DATA_("Channel %d"), i);
|
||||
channel->index = i;
|
||||
BLI_addtail(channels, channel);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user