[Bf-blender-cvs] [6967216] master: Cycles: Fix indendation
Sergey Sharybin
noreply at git.blender.org
Wed Dec 14 12:47:42 CET 2016
Commit: 696721648558aef94e8488dbef13eff758abdf08
Author: Sergey Sharybin
Date: Wed Dec 14 12:47:28 2016 +0100
Branches: master
https://developer.blender.org/rB696721648558aef94e8488dbef13eff758abdf08
Cycles: Fix indendation
===================================================================
M intern/cycles/blender/blender_object.cpp
===================================================================
diff --git a/intern/cycles/blender/blender_object.cpp b/intern/cycles/blender/blender_object.cpp
index 681a22e..22cc4e6 100644
--- a/intern/cycles/blender/blender_object.cpp
+++ b/intern/cycles/blender/blender_object.cpp
@@ -148,8 +148,8 @@ public:
BL::Array<float, 24> boundbox = b_ob.bound_box();
for(int i = 0; i < 8; ++i) {
float3 p = make_float3(boundbox[3 * i + 0],
- boundbox[3 * i + 1],
- boundbox[3 * i + 2]);
+ boundbox[3 * i + 1],
+ boundbox[3 * i + 2]);
bb[i] = transform_point(&tfm, p);
}
@@ -203,7 +203,7 @@ private:
{
float3 camera_position = transform_get_column(&scene->camera->matrix, 3);
float3 bb_min = make_float3(FLT_MAX, FLT_MAX, FLT_MAX),
- bb_max = make_float3(-FLT_MAX, -FLT_MAX, -FLT_MAX);
+ bb_max = make_float3(-FLT_MAX, -FLT_MAX, -FLT_MAX);
/* Find min & max points for x & y & z on bounding box */
for(int i = 0; i < 8; ++i) {
More information about the Bf-blender-cvs
mailing list