Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2018-03-18 18:05:02 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2018-03-18 18:05:02 +0300
commite95282e783f2cebb700c354ad181dd5efce50d04 (patch)
treec775ea102783f363b90469f2cf5ba2bad1da4f79 /source/blender/blenlib
parent4a3d94c0734d1475aa9a2fbe89039fbc59c9fb8d (diff)
parent0301df40e5b6c51575d7f9013a1a28b901063829 (diff)
Merge branch 'master' into blender2.8
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r--source/blender/blenlib/intern/BLI_kdopbvh.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/blenlib/intern/BLI_kdopbvh.c b/source/blender/blenlib/intern/BLI_kdopbvh.c
index c1187fdd8bb..06e8ade68a2 100644
--- a/source/blender/blenlib/intern/BLI_kdopbvh.c
+++ b/source/blender/blenlib/intern/BLI_kdopbvh.c
@@ -856,9 +856,8 @@ static void non_recursive_bvh_div_nodes_task_cb(
else {
break;
}
-
- parent->totnode = (char)(k + 1);
}
+ parent->totnode = (char)k;
}
/**