[Bf-blender-cvs] [dd070c6] master: Cleanup

Campbell Barton noreply at git.blender.org
Sat Dec 26 05:42:12 CET 2015


Commit: dd070c6c32e75b7cc45042e3c707110adcfd6cc4
Author: Campbell Barton
Date:   Sat Dec 26 15:32:37 2015 +1100
Branches: master
https://developer.blender.org/rBdd070c6c32e75b7cc45042e3c707110adcfd6cc4

Cleanup

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

M	source/blender/editors/space_view3d/view3d_edit.c
M	source/blender/modifiers/intern/MOD_uvwarp.c

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

diff --git a/source/blender/editors/space_view3d/view3d_edit.c b/source/blender/editors/space_view3d/view3d_edit.c
index 606f32e..f759a0e 100644
--- a/source/blender/editors/space_view3d/view3d_edit.c
+++ b/source/blender/editors/space_view3d/view3d_edit.c
@@ -2883,7 +2883,7 @@ static void view3d_from_minmax(bContext *C, View3D *v3d, ARegion *ar,
 		ED_view3d_smooth_view(
 		        C, v3d, ar, smooth_viewtx,
 		        &(const V3D_SmoothParams){
-		            .camera_old=v3d->camera, .ofs = new_ofs,
+		            .camera_old = v3d->camera, .ofs = new_ofs,
 		            .dist = ok_dist ? &new_dist : NULL});
 	}
 	else {
diff --git a/source/blender/modifiers/intern/MOD_uvwarp.c b/source/blender/modifiers/intern/MOD_uvwarp.c
index 7585198..3434685 100644
--- a/source/blender/modifiers/intern/MOD_uvwarp.c
+++ b/source/blender/modifiers/intern/MOD_uvwarp.c
@@ -150,7 +150,7 @@ static DerivedMesh *applyModifier(ModifierData *md, Object *ob,
                                   ModifierApplyFlag UNUSED(flag))
 {
 	UVWarpModifierData *umd = (UVWarpModifierData *) md;
-	int i, numPolys, numLoops;
+	int numPolys, numLoops;
 	MPoly *mpoly;
 	MLoop *mloop;
 	MLoopUV *mloopuv;




More information about the Bf-blender-cvs mailing list