aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPedro J. Estébanez2016-11-30 14:33:39 +0100
committerPedro J. Estébanez2017-03-01 03:21:47 +0100
commitb6721caa13e4bd9fdbf849037baf4fd19243f742 (patch)
treeab62639247d6d086353cf567ff728062797501ee /tools
parente9e5affda18e126bdc36aa57b70aed07b881b9d2 (diff)
downloadgodot-b6721caa13e4bd9fdbf849037baf4fd19243f742.tar.gz
godot-b6721caa13e4bd9fdbf849037baf4fd19243f742.tar.zst
godot-b6721caa13e4bd9fdbf849037baf4fd19243f742.zip
Add modulate (color) to TileSet tiles
(cherry picked from commit 86789c7071836b802e6edb0538ce6de2b7949c7b)
Diffstat (limited to 'tools')
-rw-r--r--tools/editor/plugins/tile_set_editor_plugin.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/editor/plugins/tile_set_editor_plugin.cpp b/tools/editor/plugins/tile_set_editor_plugin.cpp
index 9172e0fc5..dd6edaf82 100644
--- a/tools/editor/plugins/tile_set_editor_plugin.cpp
+++ b/tools/editor/plugins/tile_set_editor_plugin.cpp
@@ -76,6 +76,8 @@ void TileSetEditor::_import_scene(Node *scene, Ref<TileSet> p_library, bool p_me
p_library->tile_set_texture(id,texture);
p_library->tile_set_material(id,material);
+ p_library->tile_set_modulate(id,mi->get_modulate());
+
Vector2 phys_offset;
Size2 s;