Initialize layer_range properly.

This commit is contained in:
Relintai 2024-03-26 14:09:31 +01:00
parent f3d4f20344
commit 6e8073bbb6

View File

@ -160,6 +160,7 @@ protected:
color = Color(1, 1, 1, 1); color = Color(1, 1, 1, 1);
item_cull_mask = 1; item_cull_mask = 1;
z_range = Vector2i(-1024, 1024); z_range = Vector2i(-1024, 1024);
layer_range = Vector2i(-512, 512);
mode = VertexLights2DServer::VERTEX_LIGHT_2D_MODE_ADD; mode = VertexLights2DServer::VERTEX_LIGHT_2D_MODE_ADD;
} }
}; };