diff options
author | Robert Hernandez <killerjaguar26@gmail.com> | 2017-03-29 19:30:24 -0400 |
---|---|---|
committer | Robert Hernandez <killerjaguar26@gmail.com> | 2017-06-29 10:49:24 -0400 |
commit | f0f407e76eafdfe76b9439c7e527f085a6ff22d9 (patch) | |
tree | bcf8b3ecb7df8cee85de7a0611688cd14cafd1ab /scene/gui/patch_9_rect.cpp | |
parent | 198bd9db02950d261c83b0c383fe737df3c5f152 (diff) | |
download | redot-engine-f0f407e76eafdfe76b9439c7e527f085a6ff22d9.tar.gz |
Texture region now updates when changing an Atlas
- Removed atlas_changed signal for AtlasTexture
- Changes are now handled by _notify_change
- Removed unneccesary signal connections
- Texture preview now updates in real-time
Fixed TextureRegionEditor constantly regenerating
Diffstat (limited to 'scene/gui/patch_9_rect.cpp')
-rw-r--r-- | scene/gui/patch_9_rect.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/gui/patch_9_rect.cpp b/scene/gui/patch_9_rect.cpp index 735f36b55d..249090830d 100644 --- a/scene/gui/patch_9_rect.cpp +++ b/scene/gui/patch_9_rect.cpp @@ -99,6 +99,7 @@ void NinePatchRect::set_texture(const Ref<Texture> &p_tex) { */ minimum_size_changed(); emit_signal("texture_changed"); + _change_notify("texture"); } Ref<Texture> NinePatchRect::get_texture() const { |