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
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user