From 7c11a1b162f9f1ac5ad8b8e2a879a200b22603d0 Mon Sep 17 00:00:00 2001 From: "Andrii Doroshenko (Xrayez)" Date: Fri, 28 Jun 2019 23:42:26 +0300 Subject: Add support for creating editor icons per module The functionality is similar to how `doc_classes` are retrieved per module. The build system will search for custom icons path defined per module via `get_icons_path()` method in `config.py` or default icons path. If such paths don't exist, only the editor's own icons will be built. Most module icons were moved from editor/icons to respective modules. --- modules/csg/icons/icon_c_s_g_box.svg | 6 ++++++ modules/csg/icons/icon_c_s_g_capsule.svg | 6 ++++++ modules/csg/icons/icon_c_s_g_combiner.svg | 8 ++++++++ modules/csg/icons/icon_c_s_g_cylinder.svg | 6 ++++++ modules/csg/icons/icon_c_s_g_mesh.svg | 6 ++++++ modules/csg/icons/icon_c_s_g_polygon.svg | 6 ++++++ modules/csg/icons/icon_c_s_g_sphere.svg | 6 ++++++ modules/csg/icons/icon_c_s_g_torus.svg | 6 ++++++ 8 files changed, 50 insertions(+) create mode 100644 modules/csg/icons/icon_c_s_g_box.svg create mode 100644 modules/csg/icons/icon_c_s_g_capsule.svg create mode 100644 modules/csg/icons/icon_c_s_g_combiner.svg create mode 100644 modules/csg/icons/icon_c_s_g_cylinder.svg create mode 100644 modules/csg/icons/icon_c_s_g_mesh.svg create mode 100644 modules/csg/icons/icon_c_s_g_polygon.svg create mode 100644 modules/csg/icons/icon_c_s_g_sphere.svg create mode 100644 modules/csg/icons/icon_c_s_g_torus.svg (limited to 'modules/csg') diff --git a/modules/csg/icons/icon_c_s_g_box.svg b/modules/csg/icons/icon_c_s_g_box.svg new file mode 100644 index 0000000000..67e34df444 --- /dev/null +++ b/modules/csg/icons/icon_c_s_g_box.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/modules/csg/icons/icon_c_s_g_capsule.svg b/modules/csg/icons/icon_c_s_g_capsule.svg new file mode 100644 index 0000000000..92a7b5a870 --- /dev/null +++ b/modules/csg/icons/icon_c_s_g_capsule.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/modules/csg/icons/icon_c_s_g_combiner.svg b/modules/csg/icons/icon_c_s_g_combiner.svg new file mode 100644 index 0000000000..cce2902e24 --- /dev/null +++ b/modules/csg/icons/icon_c_s_g_combiner.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/modules/csg/icons/icon_c_s_g_cylinder.svg b/modules/csg/icons/icon_c_s_g_cylinder.svg new file mode 100644 index 0000000000..645a74c79b --- /dev/null +++ b/modules/csg/icons/icon_c_s_g_cylinder.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/modules/csg/icons/icon_c_s_g_mesh.svg b/modules/csg/icons/icon_c_s_g_mesh.svg new file mode 100644 index 0000000000..6e940a4aa5 --- /dev/null +++ b/modules/csg/icons/icon_c_s_g_mesh.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/modules/csg/icons/icon_c_s_g_polygon.svg b/modules/csg/icons/icon_c_s_g_polygon.svg new file mode 100644 index 0000000000..71b03cb8e6 --- /dev/null +++ b/modules/csg/icons/icon_c_s_g_polygon.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/modules/csg/icons/icon_c_s_g_sphere.svg b/modules/csg/icons/icon_c_s_g_sphere.svg new file mode 100644 index 0000000000..f81b566993 --- /dev/null +++ b/modules/csg/icons/icon_c_s_g_sphere.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/modules/csg/icons/icon_c_s_g_torus.svg b/modules/csg/icons/icon_c_s_g_torus.svg new file mode 100644 index 0000000000..3d30aa47b2 --- /dev/null +++ b/modules/csg/icons/icon_c_s_g_torus.svg @@ -0,0 +1,6 @@ + + + + + + -- cgit v1.2.3