The merger surface now won't unset saved properties.

This commit is contained in:
Relintai 2022-02-24 18:03:02 +01:00
parent ea20c85900
commit 013d8f0363

View File

@ -73,11 +73,11 @@ void Terrain2DSurfaceMerger::refresh_rects() {
}
Terrain2DSurfaceMerger::Terrain2DSurfaceMerger() {
_region.unref();
_texture.unref();
}
Terrain2DSurfaceMerger::~Terrain2DSurfaceMerger() {
_region.unref();
_texture.unref();
}
void Terrain2DSurfaceMerger::_bind_methods() {