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:
@ -107,6 +107,7 @@ void StyleBoxTexture::set_texture(RES p_texture) {
|
||||
region_rect = Rect2(Point2(), texture->get_size());
|
||||
emit_signal("texture_changed");
|
||||
emit_changed();
|
||||
_change_notify("texture");
|
||||
}
|
||||
|
||||
RES StyleBoxTexture::get_texture() const {
|
||||
|
||||
Reference in New Issue
Block a user