Fix #27846: time extend / E key not work in sequence editor.
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Tue, 5 Jul 2011 09:47:09 +0000 (09:47 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Tue, 5 Jul 2011 09:47:09 +0000 (09:47 +0000)
source/blender/editors/transform/transform.c

index 181fb0f..d3a3099 100644 (file)
@@ -5530,7 +5530,7 @@ static void doAnimEdit_SnapFrame(TransInfo *t, TransData *td, TransData2D *td2d,
 void initTimeTranslate(TransInfo *t)
 {
        /* this tool is only really available in the Action Editor... */
-       if (t->spacetype != SPACE_ACTION) {
+       if (!ELEM(t->spacetype, SPACE_ACTION, SPACE_SEQ)) {
                t->state = TRANS_CANCEL;
        }