mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-05-10 15:42:06 +02:00
Fix the spawn position line height in WorldSpawner3DSpatialGizmoPlugin.
This commit is contained in:
parent
bdda27e116
commit
d03decb983
@ -211,8 +211,8 @@ void WorldSpawner3DSpatialGizmoPlugin::redraw(EditorSpatialGizmo *p_gizmo) {
|
|||||||
for (int i = 0; i < spawn_positions.size(); ++i) {
|
for (int i = 0; i < spawn_positions.size(); ++i) {
|
||||||
Vector2 p = spawn_positions[i];
|
Vector2 p = spawn_positions[i];
|
||||||
|
|
||||||
lines.push_back(Vector3(p.x, -extents.z, p.y));
|
lines.push_back(Vector3(p.x, -extents.y, p.y));
|
||||||
lines.push_back(Vector3(p.x, extents.z, p.y));
|
lines.push_back(Vector3(p.x, extents.y, p.y));
|
||||||
}
|
}
|
||||||
|
|
||||||
p_gizmo->add_lines(lines, area_spawn_pos_material);
|
p_gizmo->add_lines(lines, area_spawn_pos_material);
|
||||||
|
Loading…
Reference in New Issue
Block a user