forked from bartvdbraak/blender
style cleanup
This commit is contained in:
parent
9096b3a14e
commit
0ac194687e
@ -124,7 +124,7 @@ class NodeAddOperator():
|
|||||||
|
|
||||||
if self.use_transform and ('FINISHED' in result):
|
if self.use_transform and ('FINISHED' in result):
|
||||||
# removes the node again if transform is cancelled
|
# 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
|
return result
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
#ifndef __BKE_OCEAN_H__
|
#ifndef __BKE_OCEAN_H__
|
||||||
#define __BKE_OCEAN_H__
|
#define __BKE_OCEAN_H__
|
||||||
|
|
||||||
/** \file BLI_ocean.h
|
/** \file BKE_ocean.h
|
||||||
* \ingroup bli
|
* \ingroup bli
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
#ifndef __PBVH_INTERN_H__
|
#ifndef __PBVH_INTERN_H__
|
||||||
#define __PBVH_INTERN_H__
|
#define __PBVH_INTERN_H__
|
||||||
|
|
||||||
/** \file blender/blenkernel/intern/pbvh_intern.c
|
/** \file blender/blenkernel/intern/pbvh_intern.h
|
||||||
* \ingroup bli
|
* \ingroup bli
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -1826,7 +1826,7 @@ bool BMO_op_vinitf(BMesh *bm, BMOperator *op, const int flag, const char *_fmt,
|
|||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
fprintf(stderr,
|
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);
|
__func__, *fmt, (int)(fmt - ofmt), ofmt);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -2496,7 +2496,7 @@ static void calc_area_normal_and_flatten_center(Sculpt *sd, Object *ob,
|
|||||||
/* for flatten center */
|
/* for flatten center */
|
||||||
if (count != 0)
|
if (count != 0)
|
||||||
mul_v3_fl(fc, 1.0f / count);
|
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);
|
mul_v3_v3fl(fc, fc_flip, 1.0f / count_flipped);
|
||||||
else
|
else
|
||||||
zero_v3(fc);
|
zero_v3(fc);
|
||||||
|
Loading…
Reference in New Issue
Block a user