Part: move icons to create subdirectory

The path to the icons is added to `AppPartGui.cpp`
using `Gui::BitmapFactory().addPath()`, so the icons are found
automatically in their new directories.

Rename icon `Part_CreatePrimitives.svg` to `Part_Primitives.svg`.
This commit is contained in:
vocx-fc
2020-10-05 17:33:51 -05:00
committed by wwmayer
parent fcf7c5c00e
commit 4b50102f6c
12 changed files with 15 additions and 10 deletions

View File

@@ -125,6 +125,8 @@ PyMOD_INIT_FUNC(PartGui)
Base::Console().Log("Loading GUI of Part module... done\n");
Gui::BitmapFactory().addPath(QString::fromLatin1(":/icons/create"));
#if PY_MAJOR_VERSION >= 3
static struct PyModuleDef pAttachEngineTextsModuleDef = {
PyModuleDef_HEAD_INIT,