Base 3D engine done, still untested, though.
This commit is contained in:
parent
7fa9785170
commit
449df8f688
50 changed files with 4913 additions and 1053 deletions
|
|
@ -1022,8 +1022,7 @@ void GridMapEditor::_draw_grids(const Vector3 &cell_size) {
|
|||
Vector3 edited_floor = node->has_meta("_editor_floor_") ? node->get_meta("_editor_floor_") : Variant();
|
||||
|
||||
for (int i = 0; i < 3; i++) {
|
||||
if (VS::get_singleton()->mesh_get_surface_count(grid[i]) > 0)
|
||||
VS::get_singleton()->mesh_remove_surface(grid[i], 0);
|
||||
VS::get_singleton()->mesh_clear(grid[i]);
|
||||
edit_floor[i] = edited_floor[i];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue