style cleanup

This commit is contained in:
Campbell Barton 2013-09-18 00:07:17 +00:00
parent 9096b3a14e
commit 0ac194687e
5 changed files with 6 additions and 6 deletions

View 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

View File

@ -23,7 +23,7 @@
#ifndef __BKE_OCEAN_H__
#define __BKE_OCEAN_H__
/** \file BLI_ocean.h
/** \file BKE_ocean.h
* \ingroup bli
*/

View 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
*/

View 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;
}

View 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 !=0 )
else if (count_flipped != 0)
mul_v3_v3fl(fc, fc_flip, 1.0f / count_flipped);
else
zero_v3(fc);