Revision: 42690
          
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=42690
Author:   psy-fi
Date:     2011-12-17 14:23:38 +0000 (Sat, 17 Dec 2011)
Log Message:
-----------
small changes from review remarks

Modified Paths:
--------------
    branches/soc-2011-onion-uv-tools/source/blender/blenlib/BLI_math_vector.h
    branches/soc-2011-onion-uv-tools/source/blender/editors/uvedit/uvedit_draw.c

Modified: 
branches/soc-2011-onion-uv-tools/source/blender/blenlib/BLI_math_vector.h
===================================================================
--- branches/soc-2011-onion-uv-tools/source/blender/blenlib/BLI_math_vector.h   
2011-12-17 13:58:16 UTC (rev 42689)
+++ branches/soc-2011-onion-uv-tools/source/blender/blenlib/BLI_math_vector.h   
2011-12-17 14:23:38 UTC (rev 42690)
@@ -116,6 +116,7 @@
 
 /*********************************** Length **********************************/
 
+MINLINE float len_squared_v2(const float v[2]);
 MINLINE float len_v2(const float a[2]);
 MINLINE float len_v2v2(const float a[2], const float b[2]);
 MINLINE float len_squared_v2v2(const float a[2], const float b[2]);

Modified: 
branches/soc-2011-onion-uv-tools/source/blender/editors/uvedit/uvedit_draw.c
===================================================================
--- 
branches/soc-2011-onion-uv-tools/source/blender/editors/uvedit/uvedit_draw.c    
    2011-12-17 13:58:16 UTC (rev 42689)
+++ 
branches/soc-2011-onion-uv-tools/source/blender/editors/uvedit/uvedit_draw.c    
    2011-12-17 14:23:38 UTC (rev 42690)
@@ -928,7 +928,7 @@
 {
        int show_uvedit, show_uvshadow, show_texpaint_uvshadow;
        Object *paint_ob = CTX_data_active_object(C);
-       ToolSettings *toolsettings = CTX_data_scene(C)->toolsettings;
+       ToolSettings *toolsettings = scene->toolsettings;
 
        show_texpaint_uvshadow = (paint_ob && paint_ob->type == OB_MESH && 
paint_ob->mode == OB_MODE_TEXTURE_PAINT);
        show_uvedit= ED_space_image_show_uvedit(sima, obedit);

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

Reply via email to