svn merge -r40279:40295 ^/trunk/blender
[blender-staging.git] / source / blender / editors / uvedit / uvedit_draw.c
index 45bfb7ca17d7497b3932d0c59b87a3df845eb310..e8660022a8bbdaffbbaecbcadbd53a9d0b7d987f 100644 (file)
@@ -320,7 +320,7 @@ static void draw_uvs_stretch(SpaceImage *sima, Scene *scene, BMEditMesh *em, MTe
                                                VECSUB2D(av4, tf_uv[2], tf_uv[3]); normalize_v2(av4);
                                                
                                                /* This is the correct angle however we are only comparing angles
-                                                * uvang1 = 90-((angle_normalized_v2v2(av1, av2) * 180.0/M_PI)-90);*/
+                                                * uvang1 = 90-((angle_normalized_v2v2(av1, av2) * RAD2DEGF(1.0f))-90);*/
                                                uvang1 = angle_normalized_v2v2(av1, av2);
                                                uvang2 = angle_normalized_v2v2(av2, av3);
                                                uvang3 = angle_normalized_v2v2(av3, av4);
@@ -333,7 +333,7 @@ static void draw_uvs_stretch(SpaceImage *sima, Scene *scene, BMEditMesh *em, MTe
                                                VECSUB(av4, efa->v3->co, efa->v4->co); normalize_v3(av4);
                                                
                                                /* This is the correct angle however we are only comparing angles
-                                                * ang1 = 90-((angle_normalized_v3v3(av1, av2) * 180.0/M_PI)-90);*/
+                                                * ang1 = 90-((angle_normalized_v3v3(av1, av2) * RAD2DEGF(1.0f))-90);*/
                                                ang1 = angle_normalized_v3v3(av1, av2);
                                                ang2 = angle_normalized_v3v3(av2, av3);
                                                ang3 = angle_normalized_v3v3(av3, av4);