feat: updated editor
This commit is contained in:
parent
b34362c7ae
commit
308572e21e
2
engine
2
engine
|
|
@ -1 +1 @@
|
||||||
Subproject commit 215acd52e82f4c575abb715e25e54558deeef998
|
Subproject commit dec5a373d97cbadce5e1fabe6095ae9957ff3aa6
|
||||||
|
|
@ -24,7 +24,7 @@ void TerrainChunk::ready() {
|
||||||
void TerrainChunk::on_terrain_changed() {
|
void TerrainChunk::on_terrain_changed() {
|
||||||
if (this->generator) {
|
if (this->generator) {
|
||||||
Vector3 const position{ get_global_position() };
|
Vector3 const position{ get_global_position() };
|
||||||
this->meshes.resize_zeroed(3);
|
this->meshes.resize_initialized(3);
|
||||||
size_t lod{ 0 };
|
size_t lod{ 0 };
|
||||||
if (this->collisions) {
|
if (this->collisions) {
|
||||||
this->collisions->queue_free();
|
this->collisions->queue_free();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue