[Bf-blender-cvs] [7b512dde2d8] soc-2017-normal-tools: More minor cleanup/style editing.
Bastien Montagne
noreply at git.blender.org
Thu Mar 1 16:35:52 CET 2018
Commit: 7b512dde2d86229b879f599a81d1ef3382a43c19
Author: Bastien Montagne
Date: Thu Mar 1 12:38:25 2018 +0100
Branches: soc-2017-normal-tools
https://developer.blender.org/rB7b512dde2d86229b879f599a81d1ef3382a43c19
More minor cleanup/style editing.
===================================================================
M source/blender/editors/screen/screen_ops.c
===================================================================
diff --git a/source/blender/editors/screen/screen_ops.c b/source/blender/editors/screen/screen_ops.c
index 39153c878d7..d9746c6cab8 100644
--- a/source/blender/editors/screen/screen_ops.c
+++ b/source/blender/editors/screen/screen_ops.c
@@ -356,8 +356,9 @@ int ED_operator_editmesh_region_view3d(bContext *C)
int ED_operator_editmesh_auto_smooth(bContext *C)
{
Object *obedit = CTX_data_edit_object(C);
- if (obedit && obedit->type == OB_MESH && (((Mesh *)(obedit->data))->flag & ME_AUTOSMOOTH))
+ if (obedit && obedit->type == OB_MESH && (((Mesh *)(obedit->data))->flag & ME_AUTOSMOOTH)) {
return NULL != BKE_editmesh_from_object(obedit);
+ }
return 0;
}
More information about the Bf-blender-cvs
mailing list