comment own recent memory leak fix since it broke edge slide.
authorCampbell Barton <ideasman42@gmail.com>
Thu, 13 Oct 2011 14:32:45 +0000 (14:32 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 13 Oct 2011 14:32:45 +0000 (14:32 +0000)
source/blender/editors/transform/transform_input.c

index 125ba8b511d09faca3f751c7fe8f7e862c395e87..1c3241237f5f29a5b6b10fc6b08f759537c17443 100644 (file)
@@ -313,10 +313,14 @@ static void calcSpringFactor(MouseInput *mi)
 void initMouseInputMode(TransInfo *t, MouseInput *mi, MouseInputMode mode)
 {
        /* may have been allocated previously */
+       /* TODO, holding R-key can cause mem leak, but this causes [#28903]
+        * disable for now. */
+#if 0
        if(mi->data) {
                MEM_freeN(mi->data);
                mi->data= NULL;
        }
+#endif
 
        switch(mode)
        {