diff options
| author | George Marques | 2017-12-17 16:03:46 -0200 |
|---|---|---|
| committer | George Marques | 2017-12-17 16:03:46 -0200 |
| commit | c8d416d152003f1eb865df2c05a2024a9672e8bd (patch) | |
| tree | 3f41645c0dae9f2ff272fdac759e8fc6228a08da /editor/plugins/tile_set_editor_plugin.cpp | |
| parent | fa8a1fc4201dc4c16b5eef844dde17c5bba92dc8 (diff) | |
| download | godot-c8d416d152003f1eb865df2c05a2024a9672e8bd.tar.gz godot-c8d416d152003f1eb865df2c05a2024a9672e8bd.tar.zst godot-c8d416d152003f1eb865df2c05a2024a9672e8bd.zip | |
Diffstat (limited to 'editor/plugins/tile_set_editor_plugin.cpp')
| -rw-r--r-- | editor/plugins/tile_set_editor_plugin.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/editor/plugins/tile_set_editor_plugin.cpp b/editor/plugins/tile_set_editor_plugin.cpp index ae726b69e..5eb3435e2 100644 --- a/editor/plugins/tile_set_editor_plugin.cpp +++ b/editor/plugins/tile_set_editor_plugin.cpp @@ -1435,13 +1435,13 @@ bool AutotileEditorHelper::_get(const StringName &p_name, Variant &r_ret) const return false; String name = p_name.operator String(); + bool v = false; if (name == "bitmask_mode") { - r_ret = tile_set->get(String::num(autotile_editor->get_current_tile(), 0) + "/autotile/bitmask_mode"); + r_ret = tile_set->get(String::num(autotile_editor->get_current_tile(), 0) + "/autotile/bitmask_mode", &v); } else if (name.left(7) == "layout/") { - bool v; r_ret = tile_set->get(String::num(autotile_editor->get_current_tile(), 0) + "/autotile" + name.right(6), &v); - return v; } + return v; } void AutotileEditorHelper::_get_property_list(List<PropertyInfo> *p_list) const { |
