diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-09-15 17:15:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-15 17:15:09 +0200 |
commit | 7f24914b9e7f709b000b9e5ef9cb8eb3aaf100db (patch) | |
tree | 8d54a70bb0a4b745a99d5e5a9f3f34c6f4afa4f9 /scene/main/canvas_item.cpp | |
parent | 3f5f087af2e874dddf890ab09a28c80ade921ee8 (diff) | |
parent | bb7db2138bd6853b91f2e66d43f02419bb1840bc (diff) |
Merge pull request #36374 from kuruk-mm/tilemap_filter_set_and_update
TileMap: Set texture_filter and texture_repeat to generated CanvasItems...
Diffstat (limited to 'scene/main/canvas_item.cpp')
-rw-r--r-- | scene/main/canvas_item.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/main/canvas_item.cpp b/scene/main/canvas_item.cpp index 5cd45ea408..796408a38d 100644 --- a/scene/main/canvas_item.cpp +++ b/scene/main/canvas_item.cpp @@ -1369,6 +1369,7 @@ void CanvasItem::set_texture_filter(TextureFilter p_texture_filter) { } texture_filter = p_texture_filter; _update_texture_filter_changed(true); + _change_notify(); } CanvasItem::TextureFilter CanvasItem::get_texture_filter() const { @@ -1421,6 +1422,7 @@ void CanvasItem::set_texture_repeat(TextureRepeat p_texture_repeat) { } texture_repeat = p_texture_repeat; _update_texture_repeat_changed(true); + _change_notify(); } CanvasItem::TextureRepeat CanvasItem::get_texture_repeat() const { |