Sequencer WIP
[blender.git] / source / blender / editors / space_buttons / buttons_context.c
index d3653efd9f2a5106c12e12882d733ec083f27e4e..67d7a58a033d2cbbf223e48e81780a7fb38c8fcd 100644 (file)
@@ -132,22 +132,6 @@ static int buttons_context_path_world(ButsContextPath *path)
        return 0;
 }
 
-// XXX - place holder, need to get this working
-static int buttons_context_path_sequencer(ButsContextPath *path)
-{
-       Scene *scene;
-
-       if(buttons_context_path_scene(path)) {
-               scene= path->ptr[path->len-1].data;
-
-               RNA_pointer_create(&scene->id, &RNA_SequenceEditor, scene->ed, &path->ptr[path->len]);
-               path->len++;
-
-               return 1;
-       }
-
-       return 0;
-}
 
 static int buttons_context_path_object(ButsContextPath *path)
 {
@@ -395,9 +379,6 @@ static int buttons_context_path(const bContext *C, ButsContextPath *path, int ma
                case BCONTEXT_WORLD:
                        found= buttons_context_path_world(path);
                        break;
-               case BCONTEXT_SEQUENCER:
-                       found= buttons_context_path_sequencer(path); // XXX - place holder
-                       break;
                case BCONTEXT_OBJECT:
                case BCONTEXT_PHYSICS:
                case BCONTEXT_CONSTRAINT: