From 15127115bb165fbef51ac42b7155a0f20f3602a8 Mon Sep 17 00:00:00 2001 From: indigo Date: Fri, 20 Mar 2026 02:31:34 +0800 Subject: [PATCH] Add Icon --- install/Maya2023/icons/out_MediaPlane.svg | 26 +++++++++++++++++++ src/MayaMediaPlaneNode/CMakeLists.txt | 9 +++++++ .../resources/icons/out_MediaPlane.svg | 26 +++++++++++++++++++ 3 files changed, 61 insertions(+) create mode 100644 install/Maya2023/icons/out_MediaPlane.svg create mode 100644 src/MayaMediaPlaneNode/resources/icons/out_MediaPlane.svg diff --git a/install/Maya2023/icons/out_MediaPlane.svg b/install/Maya2023/icons/out_MediaPlane.svg new file mode 100644 index 0000000..0edec61 --- /dev/null +++ b/install/Maya2023/icons/out_MediaPlane.svg @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/MayaMediaPlaneNode/CMakeLists.txt b/src/MayaMediaPlaneNode/CMakeLists.txt index d2bb13f..4290310 100644 --- a/src/MayaMediaPlaneNode/CMakeLists.txt +++ b/src/MayaMediaPlaneNode/CMakeLists.txt @@ -43,6 +43,10 @@ set(MEL_SCRIPTS AETemplateMediaPlane.mel ) +set(ICON_FILES + resources/icons/out_MediaPlane.svg +) + # ============================================ # Build Plugin # ============================================ @@ -102,6 +106,11 @@ install(FILES ${MEL_SCRIPTS} DESTINATION "scripts" ) +# Install icon files +install(FILES ${ICON_FILES} + DESTINATION "icons" +) + # Install FFmpeg DLLs if(EXISTS "${FFMPEG_DLL_DIR}") file(GLOB FFMPEG_DLLS "${FFMPEG_DLL_DIR}/*.dll") diff --git a/src/MayaMediaPlaneNode/resources/icons/out_MediaPlane.svg b/src/MayaMediaPlaneNode/resources/icons/out_MediaPlane.svg new file mode 100644 index 0000000..0edec61 --- /dev/null +++ b/src/MayaMediaPlaneNode/resources/icons/out_MediaPlane.svg @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + + +