[Bf-blender-cvs] [e4b9836c535] master: Cleanup: Remove pre-2.5 ifdef'ed piece of code.

Bastien Montagne noreply at git.blender.org
Tue Apr 30 11:34:48 CEST 2019


Commit: e4b9836c535a51ecd0dcdddefda80f805a214dd3
Author: Bastien Montagne
Date:   Mon Apr 29 15:21:08 2019 +0200
Branches: master
https://developer.blender.org/rBe4b9836c535a51ecd0dcdddefda80f805a214dd3

Cleanup: Remove pre-2.5 ifdef'ed piece of code.

===================================================================

M	source/blender/editors/space_sequencer/sequencer_select.c

===================================================================

diff --git a/source/blender/editors/space_sequencer/sequencer_select.c b/source/blender/editors/space_sequencer/sequencer_select.c
index 25e14e01232..a193171f784 100644
--- a/source/blender/editors/space_sequencer/sequencer_select.c
+++ b/source/blender/editors/space_sequencer/sequencer_select.c
@@ -537,24 +537,6 @@ static int sequencer_select_invoke(bContext *C, wmOperator *op, const wmEvent *e
     }
   }
 
-  /* marker transform */
-#if 0  // XXX probably need to redo this differently for 2.5
-  if (marker) {
-    int mval[2], xo, yo;
-    //      getmouseco_areawin(mval);
-    xo = mval[0];
-    yo = mval[1];
-
-    while (get_mbut()) {
-      //          getmouseco_areawin(mval);
-      if (abs(mval[0] - xo) + abs(mval[1] - yo) > 4) {
-        transform_markers('g', 0);
-        return;
-      }
-    }
-  }
-#endif
-
   WM_event_add_notifier(C, NC_SCENE | ND_SEQUENCER | NA_SELECTED, scene);
 
   /* allowing tweaks */



More information about the Bf-blender-cvs mailing list