[Bf-blender-cvs] [a71523f] master: Cleanup: braces
Sergey Sharybin
noreply at git.blender.org
Sun Feb 14 10:15:03 CET 2016
Commit: a71523fab4d519ee6ad88fcc0ac23967cc66d330
Author: Sergey Sharybin
Date: Sun Feb 14 10:14:28 2016 +0100
Branches: master
https://developer.blender.org/rBa71523fab4d519ee6ad88fcc0ac23967cc66d330
Cleanup: braces
===================================================================
M source/blender/editors/object/object_bake_api.c
===================================================================
diff --git a/source/blender/editors/object/object_bake_api.c b/source/blender/editors/object/object_bake_api.c
index 3c9b43b..f9ab0f4 100644
--- a/source/blender/editors/object/object_bake_api.c
+++ b/source/blender/editors/object/object_bake_api.c
@@ -766,11 +766,9 @@ static int bake(
result = MEM_callocN(sizeof(float) * depth * num_pixels, "bake return pixels");
/* for multires bake, use linear UV subdivision to match low res UVs */
- if (pass_type == SCE_PASS_NORMAL && normal_space == R_BAKE_SPACE_TANGENT && !is_selected_to_active)
- {
+ if (pass_type == SCE_PASS_NORMAL && normal_space == R_BAKE_SPACE_TANGENT && !is_selected_to_active) {
mmd_low = (MultiresModifierData *) modifiers_findByType(ob_low, eModifierType_Multires);
- if (mmd_low)
- {
+ if (mmd_low) {
mmd_flags_low = mmd_low->flags;
mmd_low->flags |= eMultiresModifierFlag_PlainUv;
}
More information about the Bf-blender-cvs
mailing list