diff options
| author | Yuri Sizov <yuris@humnom.net> | 2023-08-25 21:26:41 +0200 |
|---|---|---|
| committer | Yuri Sizov <yuris@humnom.net> | 2023-08-25 21:26:41 +0200 |
| commit | 43f61836adc60ebc4cde3dc278088032f36a40e9 (patch) | |
| tree | c593b1c598958ae21c9deb7d48a93f73f9895cf3 /editor | |
| parent | 548bfa836594f439f5e1af7cab8a53ca31997cf6 (diff) | |
| parent | 0044217a7f63695dc39859ebbda2497a56b56c8d (diff) | |
| download | redot-engine-43f61836adc60ebc4cde3dc278088032f36a40e9.tar.gz | |
Merge pull request #80934 from philippesic/TileSet-Sep-Suffix
Add `px` suffix for TileSet `separation` property
Diffstat (limited to 'editor')
| -rw-r--r-- | editor/plugins/tiles/tile_set_atlas_source_editor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/tiles/tile_set_atlas_source_editor.cpp b/editor/plugins/tiles/tile_set_atlas_source_editor.cpp index b1111be006..927e805f71 100644 --- a/editor/plugins/tiles/tile_set_atlas_source_editor.cpp +++ b/editor/plugins/tiles/tile_set_atlas_source_editor.cpp @@ -111,7 +111,7 @@ void TileSetAtlasSourceEditor::TileSetAtlasSourceProxyObject::_get_property_list p_list->push_back(PropertyInfo(Variant::STRING, PNAME("name"))); p_list->push_back(PropertyInfo(Variant::OBJECT, PNAME("texture"), PROPERTY_HINT_RESOURCE_TYPE, "Texture2D")); p_list->push_back(PropertyInfo(Variant::VECTOR2I, PNAME("margins"), PROPERTY_HINT_NONE, "suffix:px")); - p_list->push_back(PropertyInfo(Variant::VECTOR2I, PNAME("separation"))); + p_list->push_back(PropertyInfo(Variant::VECTOR2I, PNAME("separation"), PROPERTY_HINT_NONE, "suffix:px")); p_list->push_back(PropertyInfo(Variant::VECTOR2I, PNAME("texture_region_size"), PROPERTY_HINT_NONE, "suffix:px")); p_list->push_back(PropertyInfo(Variant::BOOL, PNAME("use_texture_padding"))); } |
