Implement bvhtree.fromObject

Passing depsgraph instead of scene, since a scene does not fully define the
state of object you want to use for the BVH.

Also, mesh_create_eval_final_view and mesh_create_eval_final_render are pretty
much the same, so mesh_create_eval_no_deform and
mesh_create_eval_no_deform_render are as well.

Issue reported on: T58734

Reviewers: sergey
https://developer.blender.org/D4032
This commit is contained in:
Dalai Felinto
2018-12-04 20:47:13 -02:00
parent 8e31e67bf5
commit 80ffd7b459
5 changed files with 46 additions and 32 deletions

View File

@@ -23,6 +23,7 @@ set(INC
../../blenlib
../../blenkernel
../../bmesh
../../depsgraph
../../makesdna
../../../../intern/guardedalloc
)