diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-11-08 17:56:56 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-11-08 18:01:02 +0300 |
commit | 11a53ec28a6abd9c0335c6f34b7862003574128b (patch) | |
tree | 6545b1537c7f6ab2f2d081c26f3b8603fc39bff6 /source/blender/blenkernel/BKE_world.h | |
parent | d4370e2e0089be66f98210f6374031186dee4758 (diff) |
Fix T57689: world nodes / texture not updating for Eevee.
Only do GPU material updates through depsgraph evaluation now. This was
already happening for material, just missing for the world.
Diffstat (limited to 'source/blender/blenkernel/BKE_world.h')
-rw-r--r-- | source/blender/blenkernel/BKE_world.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_world.h b/source/blender/blenkernel/BKE_world.h index 6a9a75828e5..eb0548c682e 100644 --- a/source/blender/blenkernel/BKE_world.h +++ b/source/blender/blenkernel/BKE_world.h @@ -33,6 +33,7 @@ * \author nzc */ +struct Depsgraph; struct Main; struct World; @@ -43,5 +44,6 @@ void BKE_world_copy_data(struct Main *bmain, struct World *wrld_dst, const struc struct World *BKE_world_copy(struct Main *bmain, const struct World *wrld); struct World *BKE_world_localize(struct World *wrld); void BKE_world_make_local(struct Main *bmain, struct World *wrld, const bool lib_local); +void BKE_world_eval(struct Depsgraph *depsgraph, struct World *world); #endif |