1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-08 12:40:44 +00:00

Fix issues with CPUParticles and related conversion from Particles. Closes #20126

This commit is contained in:
Juan Linietsky
2018-07-23 12:28:15 -03:00
parent 0e8f2c81cc
commit ec85fd554b
6 changed files with 29 additions and 4 deletions

View File

@@ -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;
}
};