Skip to content
This repository has been archived by the owner on Dec 18, 2020. It is now read-only.

Commit

Permalink
fix missing init of scivisData.lights
Browse files Browse the repository at this point in the history
  • Loading branch information
Twinklebear committed Sep 21, 2020
1 parent 06bac99 commit 80c76ac
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion ospray/common/DistributedWorld.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ struct Region
* owns them. A region is some "clip box" within the world, which contains
* some mix of volumes and geometries to be rendered, with rays clipped
* against the bounds of this box.
* TODO WILL: How to handle "ghost" regions, or with some "ghost instances"?
*/
struct DistributedWorld : public World
{
Expand Down
1 change: 1 addition & 0 deletions ospray/common/DistributedWorld.ispc
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export void *uniform DistributedWorld_create(void *uniform cppE)
world->super.embreeSceneHandleClippers = NULL;

world->super.numInvertedClippers = 0;
world->super.scivisData.lights = NULL;

return (void *uniform)world;
}
Expand Down

0 comments on commit 80c76ac

Please sign in to comment.