diff options
author | Mateo Dev .59 <mateomiccino@gmail.com> | 2020-02-19 18:26:24 -0300 |
---|---|---|
committer | Mateo Kuruk Miccino <mateomiccino@gmail.com> | 2020-09-12 11:49:38 -0300 |
commit | bb7db2138bd6853b91f2e66d43f02419bb1840bc (patch) | |
tree | b540c20c0f499878bfe9fcbb5b18d7447e36a8dc /scene/main/canvas_item.cpp | |
parent | e49d25bac08d1205f5c2cd7126a0323fd028e0cc (diff) |
TileMap: Set texture_filter and texture_repeat to generated CanvasItems and update when it changes
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 { |