style cleanup
authorCampbell Barton <ideasman42@gmail.com>
Wed, 18 Sep 2013 00:07:17 +0000 (00:07 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 18 Sep 2013 00:07:17 +0000 (00:07 +0000)
release/scripts/startup/bl_operators/node.py
source/blender/blenkernel/BKE_ocean.h
source/blender/blenkernel/intern/pbvh_intern.h
source/blender/bmesh/intern/bmesh_operators.c
source/blender/editors/sculpt_paint/sculpt.c

index 6627e814499d75bf67ad4c19885df52e1a80dd75..9b629c3f976faa2c07e66b54065acaac7b2c0f3c 100644 (file)
@@ -67,7 +67,7 @@ class NodeAddOperator():
         # convert mouse position to the View2D for later node placement
         if context.region.type == 'WINDOW':
             # convert mouse position to the View2D for later node placement
-            space.cursor_location_from_region(event.mouse_region_x, event.mouse_region_y) 
+            space.cursor_location_from_region(event.mouse_region_x, event.mouse_region_y)
         else:
             space.cursor_location = tree.view_center
 
@@ -124,7 +124,7 @@ class NodeAddOperator():
 
         if self.use_transform and ('FINISHED' in result):
             # removes the node again if transform is cancelled
-            bpy.ops.transform.translate('INVOKE_DEFAULT', remove_on_cancel = True)
+            bpy.ops.transform.translate('INVOKE_DEFAULT', remove_on_cancel=True)
 
         return result
 
index 3facdfc5901bd885bfe6f701a40a8c980cef0e39..b750d8b283a6f7af16bfafbce7f3783e3d4c00fe 100644 (file)
@@ -23,7 +23,7 @@
 #ifndef __BKE_OCEAN_H__
 #define __BKE_OCEAN_H__
 
-/** \file BLI_ocean.h
+/** \file BKE_ocean.h
  *  \ingroup bli
  */
 
index 0acf101a58159a129607d1c57a6934f4acff476f..89bfbc252a8da373691eb7488302f39c4fbbfce5 100644 (file)
@@ -21,7 +21,7 @@
 #ifndef __PBVH_INTERN_H__
 #define __PBVH_INTERN_H__
 
-/** \file blender/blenkernel/intern/pbvh_intern.c
+/** \file blender/blenkernel/intern/pbvh_intern.h
  *  \ingroup bli
  */
 
index 9551c55959efe5b5e301c42123b8b516a575b365..284ff3e759c36b35503a171e680944d79fc34593 100644 (file)
@@ -1826,7 +1826,7 @@ bool BMO_op_vinitf(BMesh *bm, BMOperator *op, const int flag, const char *_fmt,
                                        break;
                                default:
                                        fprintf(stderr,
-                                               "%s: unrecognized bmop format char: %c, %d in '%s'\n",
+                                               "%s: unrecognized bmop format char: '%c', %d in '%s'\n",
                                                __func__, *fmt, (int)(fmt - ofmt), ofmt);
                                        break;
                        }
index d07f447b2fa0c6adb997e0eedba257507552b933..a557afcdf3d40e229f68b5132e37b0c5c11be673 100644 (file)
@@ -2496,7 +2496,7 @@ static void calc_area_normal_and_flatten_center(Sculpt *sd, Object *ob,
        /* for flatten center */
        if (count != 0)
                mul_v3_fl(fc, 1.0f / count);
-       else if (count_flipped !=)
+       else if (count_flipped != 0)
                mul_v3_v3fl(fc, fc_flip, 1.0f / count_flipped);
        else
                zero_v3(fc);