select all seq strips removed other flags, add menu was running exec rather then invoke.
This commit is contained in:
@@ -147,6 +147,7 @@ class SEQUENCER_MT_add(bpy.types.Menu):
|
||||
|
||||
def draw(self, context):
|
||||
layout = self.layout
|
||||
layout.operator_context = 'INVOKE_REGION_WIN'
|
||||
|
||||
st = context.space_data
|
||||
|
||||
@@ -163,7 +164,7 @@ class SEQUENCER_MT_add_effect(bpy.types.Menu):
|
||||
|
||||
def draw(self, context):
|
||||
layout = self.layout
|
||||
|
||||
layout.operator_context = 'INVOKE_REGION_WIN'
|
||||
st = context.space_data
|
||||
|
||||
layout.column()
|
||||
|
||||
@@ -218,7 +218,7 @@ static int sequencer_deselect_exec(bContext *C, wmOperator *op)
|
||||
seq->flag &= SEQ_DESEL;
|
||||
}
|
||||
else {
|
||||
seq->flag &= (SEQ_LEFTSEL+SEQ_RIGHTSEL);
|
||||
seq->flag &= ~(SEQ_LEFTSEL+SEQ_RIGHTSEL);
|
||||
seq->flag |= SELECT;
|
||||
}
|
||||
}
|
||||
@@ -259,7 +259,7 @@ static int sequencer_select_inverse_exec(bContext *C, wmOperator *op)
|
||||
seq->flag &= SEQ_DESEL;
|
||||
}
|
||||
else {
|
||||
seq->flag &= (SEQ_LEFTSEL+SEQ_RIGHTSEL);
|
||||
seq->flag &= ~(SEQ_LEFTSEL+SEQ_RIGHTSEL);
|
||||
seq->flag |= SELECT;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user