diff options
author | Pedro J. Estébanez <pedrojrulez@gmail.com> | 2016-11-30 14:33:39 +0100 |
---|---|---|
committer | Pedro J. Estébanez <pedrojrulez@gmail.com> | 2016-11-30 14:33:39 +0100 |
commit | 86789c7071836b802e6edb0538ce6de2b7949c7b (patch) | |
tree | 262677a7c8ec1cf03ae897de6a235415fc7e3087 /tools | |
parent | c05ff0577fd9cc39a6968e65743f7d7da711bfe2 (diff) |
Add modulate (color) to TileSet tiles
Diffstat (limited to 'tools')
-rw-r--r-- | tools/editor/plugins/tile_set_editor_plugin.cpp | 2 |
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 39a15189e7..eadd6d3467 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; |