From 4130244329411e23bcbcf386f609ed36fc728e58 Mon Sep 17 00:00:00 2001 From: bitacovir Date: Tue, 9 Feb 2021 20:47:50 -0300 Subject: [PATCH] Fix MeshPart icon names --- src/Mod/MeshPart/Gui/MeshFlatteningCommand.py | 4 ++-- src/Mod/MeshPart/Gui/Resources/MeshPart.qrc | 4 ++-- ...hPart_Create_Flat_Face.svg => MeshPart_CreateFlatFace.svg} | 0 ...hPart_Create_Flat_Mesh.svg => MeshPart_CreateFlatMesh.svg} | 0 4 files changed, 4 insertions(+), 4 deletions(-) rename src/Mod/MeshPart/Gui/Resources/icons/{MeshPart_Create_Flat_Face.svg => MeshPart_CreateFlatFace.svg} (100%) rename src/Mod/MeshPart/Gui/Resources/icons/{MeshPart_Create_Flat_Mesh.svg => MeshPart_CreateFlatMesh.svg} (100%) diff --git a/src/Mod/MeshPart/Gui/MeshFlatteningCommand.py b/src/Mod/MeshPart/Gui/MeshFlatteningCommand.py index e228772018..ed0d1aec6e 100644 --- a/src/Mod/MeshPart/Gui/MeshFlatteningCommand.py +++ b/src/Mod/MeshPart/Gui/MeshFlatteningCommand.py @@ -19,7 +19,7 @@ class CreateFlatMesh(BaseCommand): """create flat wires from a meshed face""" def GetResources(self): - return {'Pixmap': 'MeshPart_Create_Flat_Mesh.svg', 'MenuText': 'Unwrap Mesh', 'ToolTip': 'find a flat representation of a mesh'} + return {'Pixmap': 'MeshPart_CreateFlatMesh.svg', 'MenuText': 'Unwrap Mesh', 'ToolTip': 'find a flat representation of a mesh'} def Activated(self): import numpy as np @@ -49,7 +49,7 @@ class CreateFlatFace(BaseCommand): only full faces are supported right now""" def GetResources(self): - return {'Pixmap': 'MeshPart_Create_Flat_Face.svg', 'MenuText': 'Unwrap Face', 'ToolTip': 'find a flat representation of a mesh'} + return {'Pixmap': 'MeshPart_CreateFlatFace.svg', 'MenuText': 'Unwrap Face', 'ToolTip': 'find a flat representation of a mesh'} def Activated(self): import numpy as np diff --git a/src/Mod/MeshPart/Gui/Resources/MeshPart.qrc b/src/Mod/MeshPart/Gui/Resources/MeshPart.qrc index b28f4cee58..f6b89328fc 100644 --- a/src/Mod/MeshPart/Gui/Resources/MeshPart.qrc +++ b/src/Mod/MeshPart/Gui/Resources/MeshPart.qrc @@ -2,8 +2,8 @@ icons/actions/MeshFace.svg icons/MeshPart_CurveOnMesh.svg - icons/MeshPart_Create_Flat_Face.svg - icons/MeshPart_Create_Flat_Mesh.svg + icons/MeshPart_CreateFlatFace.svg + icons/MeshPart_CreateFlatMesh.svg translations/MeshPart_af.qm diff --git a/src/Mod/MeshPart/Gui/Resources/icons/MeshPart_Create_Flat_Face.svg b/src/Mod/MeshPart/Gui/Resources/icons/MeshPart_CreateFlatFace.svg similarity index 100% rename from src/Mod/MeshPart/Gui/Resources/icons/MeshPart_Create_Flat_Face.svg rename to src/Mod/MeshPart/Gui/Resources/icons/MeshPart_CreateFlatFace.svg diff --git a/src/Mod/MeshPart/Gui/Resources/icons/MeshPart_Create_Flat_Mesh.svg b/src/Mod/MeshPart/Gui/Resources/icons/MeshPart_CreateFlatMesh.svg similarity index 100% rename from src/Mod/MeshPart/Gui/Resources/icons/MeshPart_Create_Flat_Mesh.svg rename to src/Mod/MeshPart/Gui/Resources/icons/MeshPart_CreateFlatMesh.svg