diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-08-31 13:25:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-31 13:25:28 +0200 |
commit | 74dbcf1e4d7acd627bf14565e9b4701f7b10d0f1 (patch) | |
tree | 5ba889726514dc405e0cc4b609cd4b7c0ccaff7a /scene | |
parent | fbb2e60783960806454c16759dd2308afd17020e (diff) | |
parent | 7d7727badeb22f838e15ef9a87e644e79199fc0b (diff) |
Merge pull request #30148 from zaksnet/fix-texture-editor
Adds automatic update for StyleBoxTexture > region_rect
Diffstat (limited to 'scene')
-rw-r--r-- | scene/resources/style_box.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/resources/style_box.cpp b/scene/resources/style_box.cpp index eb65f10ec9..7328fbdb10 100644 --- a/scene/resources/style_box.cpp +++ b/scene/resources/style_box.cpp @@ -245,6 +245,7 @@ void StyleBoxTexture::set_region_rect(const Rect2 &p_region_rect) { region_rect = p_region_rect; emit_changed(); + _change_notify("region"); } Rect2 StyleBoxTexture::get_region_rect() const { |