change name length from 32 to 64, perhaps we should have some constant here bpy.constants.NAME_MAX ? - but this hardly ever changes.
also hide allow overlap option for adding sequence strips, this was only intended for api use
This commit is contained in:
@@ -35,7 +35,7 @@ class SelectPattern(Operator):
|
|||||||
pattern = StringProperty(
|
pattern = StringProperty(
|
||||||
name="Pattern",
|
name="Pattern",
|
||||||
description="Name filter using '*' and '?' wildcard chars",
|
description="Name filter using '*' and '?' wildcard chars",
|
||||||
maxlen=32,
|
maxlen=64,
|
||||||
default="*",
|
default="*",
|
||||||
)
|
)
|
||||||
case_sensitive = BoolProperty(
|
case_sensitive = BoolProperty(
|
||||||
|
|||||||
@@ -1077,7 +1077,7 @@ class WM_OT_properties_context_change(Operator):
|
|||||||
|
|
||||||
context = StringProperty(
|
context = StringProperty(
|
||||||
name="Context",
|
name="Context",
|
||||||
maxlen=32,
|
maxlen=64,
|
||||||
)
|
)
|
||||||
|
|
||||||
def execute(self, context):
|
def execute(self, context):
|
||||||
|
|||||||
@@ -89,6 +89,8 @@
|
|||||||
|
|
||||||
static void sequencer_generic_props__internal(wmOperatorType *ot, int flag)
|
static void sequencer_generic_props__internal(wmOperatorType *ot, int flag)
|
||||||
{
|
{
|
||||||
|
PropertyRNA *prop;
|
||||||
|
|
||||||
if (flag & SEQPROP_STARTFRAME)
|
if (flag & SEQPROP_STARTFRAME)
|
||||||
RNA_def_int(ot->srna, "frame_start", 0, INT_MIN, INT_MAX, "Start Frame", "Start frame of the sequence strip", INT_MIN, INT_MAX);
|
RNA_def_int(ot->srna, "frame_start", 0, INT_MIN, INT_MAX, "Start Frame", "Start frame of the sequence strip", INT_MIN, INT_MAX);
|
||||||
|
|
||||||
@@ -99,7 +101,9 @@ static void sequencer_generic_props__internal(wmOperatorType *ot, int flag)
|
|||||||
|
|
||||||
RNA_def_boolean(ot->srna, "replace_sel", 1, "Replace Selection", "Replace the current selection");
|
RNA_def_boolean(ot->srna, "replace_sel", 1, "Replace Selection", "Replace the current selection");
|
||||||
|
|
||||||
RNA_def_boolean(ot->srna, "overlap", 0, "Allow Overlap", "Don't correct overlap on new sequence strips");
|
/* only for python scripts which import strips and place them after */
|
||||||
|
prop = RNA_def_boolean(ot->srna, "overlap", 0, "Allow Overlap", "Don't correct overlap on new sequence strips");
|
||||||
|
RNA_def_property_flag(prop, PROP_HIDDEN);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void sequencer_generic_invoke_path__internal(bContext *C, wmOperator *op, const char *identifier)
|
static void sequencer_generic_invoke_path__internal(bContext *C, wmOperator *op, const char *identifier)
|
||||||
|
|||||||
Reference in New Issue
Block a user