diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2018-10-08 12:25:24 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2018-10-08 18:20:09 +0300 |
commit | eea22dd5ef0aaf58066bbff460315c8867741920 (patch) | |
tree | 9b835f732c4395b81e570ddf103d39770da20e92 /source/blender/blenkernel/intern/smoke.c | |
parent | ba3ef44a6b57970b278c3a99a7ee00906efa3eb7 (diff) |
Workbench: Smoke: Fix display
Includes the following fixes
- Fix smoke texture creation: data was interpreted as Byte instead of Floats.
- Fix Velocity texture not being free after draw: also was causing crashes.
- Fix display_thickness not being copied during COW.
- Fix Blending and general volume rendering algorithm.
- Add Volume Shadowing support.
Diffstat (limited to 'source/blender/blenkernel/intern/smoke.c')
-rw-r--r-- | source/blender/blenkernel/intern/smoke.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/smoke.c b/source/blender/blenkernel/intern/smoke.c index b3f1cbf6a1f..4f41a551454 100644 --- a/source/blender/blenkernel/intern/smoke.c +++ b/source/blender/blenkernel/intern/smoke.c @@ -664,6 +664,7 @@ void smokeModifier_copy(const struct SmokeModifierData *smd, struct SmokeModifie tsds->data_depth = sds->data_depth; tsds->cache_file_format = sds->cache_file_format; + tsds->display_thickness = sds->display_thickness; tsds->slice_method = sds->slice_method; tsds->axis_slice_method = sds->axis_slice_method; tsds->slice_per_voxel = sds->slice_per_voxel; |