diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-05-21 20:52:04 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-05-21 20:52:04 +0400 |
commit | 2970b7a735c75878eb51b141cc01a1a27f873eb7 (patch) | |
tree | 1813faa9d320155d037672fa6f3e8870b58c29d2 /source/blender/editors/space_sequencer/sequencer_add.c | |
parent | 081f3dd9fab7b2d0ea2b62411ee4653f1df7840c (diff) |
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
Diffstat (limited to 'source/blender/editors/space_sequencer/sequencer_add.c')
-rw-r--r-- | source/blender/editors/space_sequencer/sequencer_add.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/editors/space_sequencer/sequencer_add.c b/source/blender/editors/space_sequencer/sequencer_add.c index 2c3924e5407..97bfe1bafc2 100644 --- a/source/blender/editors/space_sequencer/sequencer_add.c +++ b/source/blender/editors/space_sequencer/sequencer_add.c @@ -89,6 +89,8 @@ static void sequencer_generic_props__internal(wmOperatorType *ot, int flag) { + PropertyRNA *prop; + 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); @@ -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, "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) |