diff options
author | Juan Linietsky <reduzio@gmail.com> | 2018-07-23 12:28:15 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2018-07-23 12:28:50 -0300 |
commit | ec85fd554b0ae9861fddabbda1667a93bdd52450 (patch) | |
tree | 09d58f29ab90d951c040f971552355b3d54e5f20 /servers/visual/rasterizer.h | |
parent | 0e8f2c81cc58399746fd8f7401cea65a11709acf (diff) |
Fix issues with CPUParticles and related conversion from Particles. Closes #20126
Diffstat (limited to 'servers/visual/rasterizer.h')
-rw-r--r-- | servers/visual/rasterizer.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/servers/visual/rasterizer.h b/servers/visual/rasterizer.h index 0b37d266e7..731a61890c 100644 --- a/servers/visual/rasterizer.h +++ b/servers/visual/rasterizer.h @@ -104,10 +104,12 @@ public: VS::ShadowCastingSetting cast_shadows; + //fit in 32 bits bool mirror : 8; bool receive_shadows : 8; bool visible : 8; - bool baked_light : 8; //this flag is only to know if it actually did use baked light + bool baked_light : 4; //this flag is only to know if it actually did use baked light + bool redraw_if_visible : 4; float depth; //used for sorting @@ -131,6 +133,7 @@ public: depth_layer = 0; layer_mask = 1; baked_light = false; + redraw_if_visible = false; lightmap_capture = NULL; } }; |