Undo revision 23130 which was a merge with 2.5, a messy one because I did something...
[blender.git] / source / blender / makesrna / intern / rna_sequence.c
index 9f016f7..470909f 100644 (file)
@@ -221,16 +221,6 @@ static StructRNA* rna_Sequence_refine(struct PointerRNA *ptr)
        }
 }
 
        }
 }
 
-static char *rna_Sequence_path(PointerRNA *ptr)
-{
-       Sequence *seq= (Sequence*)ptr->data;
-       
-       /* sequencer data comes from scene... 
-        * TODO: would be nice to make SequenceEditor data a datablock of its own (for shorter paths)
-        */
-       return BLI_sprintfN("sequence_editor.sequences[\"%s\"]", seq->name+2);
-}
-
 static PointerRNA rna_SequenceEdtior_meta_stack_get(CollectionPropertyIterator *iter)
 {
        ListBaseIterator *internal= iter->internal;
 static PointerRNA rna_SequenceEdtior_meta_stack_get(CollectionPropertyIterator *iter)
 {
        ListBaseIterator *internal= iter->internal;
@@ -370,7 +360,7 @@ static void rna_def_sequence(BlenderRNA *brna)
                {SEQ_META, "META", 0, "Meta", ""}, 
                {SEQ_SCENE, "SCENE", 0, "Scene", ""}, 
                {SEQ_MOVIE, "MOVIE", 0, "Movie", ""}, 
                {SEQ_META, "META", 0, "Meta", ""}, 
                {SEQ_SCENE, "SCENE", 0, "Scene", ""}, 
                {SEQ_MOVIE, "MOVIE", 0, "Movie", ""}, 
-               {SEQ_SOUND, "SOUND", 0, "Sound", ""},
+               {SEQ_SOUND, "_SOUND", 0, "Sound", ""},
                {SEQ_EFFECT, "REPLACE", 0, "Replace", ""}, 
                {SEQ_CROSS, "CROSS", 0, "Cross", ""}, 
                {SEQ_ADD, "ADD", 0, "Add", ""}, 
                {SEQ_EFFECT, "REPLACE", 0, "Replace", ""}, 
                {SEQ_CROSS, "CROSS", 0, "Cross", ""}, 
                {SEQ_ADD, "ADD", 0, "Add", ""}, 
@@ -403,7 +393,6 @@ static void rna_def_sequence(BlenderRNA *brna)
        srna = RNA_def_struct(brna, "Sequence", NULL);
        RNA_def_struct_ui_text(srna, "Sequence", "Sequence strip in the sequence editor.");
        RNA_def_struct_refine_func(srna, "rna_Sequence_refine");
        srna = RNA_def_struct(brna, "Sequence", NULL);
        RNA_def_struct_ui_text(srna, "Sequence", "Sequence strip in the sequence editor.");
        RNA_def_struct_refine_func(srna, "rna_Sequence_refine");
-       RNA_def_struct_path_func(srna, "rna_Sequence_path");
 
        prop= RNA_def_property(srna, "name", PROP_STRING, PROP_NONE);
        RNA_def_property_string_funcs(prop, "rna_Sequence_name_get", "rna_Sequence_name_length", "rna_Sequence_name_set");
 
        prop= RNA_def_property(srna, "name", PROP_STRING, PROP_NONE);
        RNA_def_property_string_funcs(prop, "rna_Sequence_name_get", "rna_Sequence_name_length", "rna_Sequence_name_set");