mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-22 17:17:17 +01:00
Initialize color to white.
This commit is contained in:
parent
26ca3d7235
commit
1bc9424bc8
@ -69,6 +69,7 @@ void VertexLight2D::set_item_cull_mask(const int p_item_cull_mask) {
|
||||
VertexLight2D::VertexLight2D() {
|
||||
_vertex_light = RID_PRIME(VertexLights2DServer::get_singleton()->light_create());
|
||||
|
||||
_color = Color(1, 1, 1, 1);
|
||||
_item_cull_mask = 1;
|
||||
_z_range = Vector2i(-1024, 1024);
|
||||
_mode = VERTEX_LIGHT_2D_MODE_ADD;
|
||||
|
@ -63,6 +63,7 @@ public:
|
||||
map = NULL;
|
||||
quadrant = NULL;
|
||||
|
||||
color = Color(1, 1, 1, 1);
|
||||
item_cull_mask = 1;
|
||||
z_range = Vector2i(-1024, 1024);
|
||||
mode = VertexLights2DServer::VERTEX_LIGHT_2D_MODE_ADD;
|
||||
|
Loading…
Reference in New Issue
Block a user