Remove unused code

This commit is contained in:
kobewi 2022-05-08 02:49:20 +02:00
parent 563690347a
commit 8177a8d358

View file

@ -921,12 +921,6 @@ void TextureRegionEditor::edit(Object *p_obj) {
atlas_tex = Ref<AtlasTexture>(nullptr);
}
edit_draw->update();
if ((node_sprite_2d && !node_sprite_2d->is_region_enabled()) || (node_sprite_3d && !node_sprite_3d->is_region_enabled())) {
set_process(true);
}
if (!p_obj) {
set_process(false);
}
}
void TextureRegionEditor::_texture_changed() {