Revision: 20750
          
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=20750
Author:   aligorith
Date:     2009-06-09 13:28:56 +0200 (Tue, 09 Jun 2009)

Log Message:
-----------
NLA SoC: Removed some obsolete code accidentally left in 

Modified Paths:
--------------
    
branches/soc-2009-aligorith/source/blender/editors/transform/transform_conversions.c

Modified: 
branches/soc-2009-aligorith/source/blender/editors/transform/transform_conversions.c
===================================================================
--- 
branches/soc-2009-aligorith/source/blender/editors/transform/transform_conversions.c
        2009-06-09 11:27:30 UTC (rev 20749)
+++ 
branches/soc-2009-aligorith/source/blender/editors/transform/transform_conversions.c
        2009-06-09 11:28:56 UTC (rev 20750)
@@ -2688,25 +2688,6 @@
                }
        }
        
-       /* check if we're supposed to be setting minx/maxx for TimeSlide */
-       if (t->mode == TFM_TIME_SLIDE) {
-               float min=999999999.0f, max=-999999999.0f;
-               int i;
-               
-               td= (t->data + 1);
-               for (i=1; i < count; i+=3, td+=3) {
-                       if (min > *(td->val)) min= *(td->val);
-                       if (max < *(td->val)) max= *(td->val);
-               }
-               
-               /* minx/maxx values used by TimeSlide are stored as a 
-                * calloced 2-float array in t->customData. This gets freed
-                * in postTrans (T_FREE_CUSTOMDATA). 
-                */
-               *((float *)(t->customData)) = min;
-               *((float *)(t->customData) + 1) = max;
-       }
-       
        /* cleanup temp list */
        BLI_freelistN(&anim_data);
 }


_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to