select all seq strips removed other flags, add menu was running exec rather then invoke.

This commit is contained in:
2009-10-18 21:32:03 +00:00
parent 816856f953
commit 5d97c9f595
2 changed files with 4 additions and 3 deletions

View File

@@ -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()

View File

@@ -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;
}
}