-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[hdEmbree] Fix issues with changing reprs (specifically, refined <-> …
…unrefined transitions) in embree meshes. We were missing a call to detach the old mesh geometry from the mesh scene, before we deleted it and recreated it. This was causing crashes in the embree BVH builder and other badness. While tracking this down, I improved the HdEmbreeMesh destructor a bit, and made _EmbreeCullFaces more robust to bad pointers; plus made it work correctly for ray packets, if we enable those later. (Internal change: 2083299)
- Loading branch information
Showing
1 changed file
with
57 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters