mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-03 17:39:36 +01:00
Initialize layer_range properly.
This commit is contained in:
parent
f3d4f20344
commit
6e8073bbb6
@ -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;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user