Cleanup: kdopbvh, only set parent nodes once

This commit is contained in:
Campbell Barton
2018-03-18 05:07:14 +01:00
parent a51fdd89fd
commit 2a9f000806

View File

@@ -856,9 +856,8 @@ static void non_recursive_bvh_div_nodes_task_cb(
else {
break;
}
parent->totnode = (char)(k + 1);
}
parent->totnode = (char)k;
}
/**