Merge pull request #59501 from timothyqiu/tileset-icons-3.x

[3.x] Fix icons for tile bitmask copy & paste buttons
This commit is contained in:
Rémi Verschelde 2022-03-25 08:01:16 +01:00 committed by GitHub
commit ffea68a4e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -310,8 +310,8 @@ void TileSetEditor::_notification(int p_what) {
tool_workspacemode[WORKSPACE_CREATE_ATLAS]->set_icon(get_icon("AddAtlasTile", "EditorIcons"));
tools[TOOL_SELECT]->set_icon(get_icon("ToolSelect", "EditorIcons"));
tools[BITMASK_COPY]->set_icon(get_icon("Duplicate", "EditorIcons"));
tools[BITMASK_PASTE]->set_icon(get_icon("Override", "EditorIcons"));
tools[BITMASK_COPY]->set_icon(get_icon("ActionCopy", "EditorIcons"));
tools[BITMASK_PASTE]->set_icon(get_icon("ActionPaste", "EditorIcons"));
tools[BITMASK_CLEAR]->set_icon(get_icon("Clear", "EditorIcons"));
tools[SHAPE_NEW_POLYGON]->set_icon(get_icon("CollisionPolygon2D", "EditorIcons"));
tools[SHAPE_NEW_RECTANGLE]->set_icon(get_icon("CollisionShape2D", "EditorIcons"));