Remove unused code
This commit is contained in:
parent
563690347a
commit
8177a8d358
1 changed files with 0 additions and 6 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue