From 18eec6c570613274ad67b8e1387293681ae0cc47 Mon Sep 17 00:00:00 2001 From: antopilo Date: Sun, 1 Dec 2024 02:10:49 -0500 Subject: [PATCH] No longer using custom panel for skinned model component --- Editor/src/Windows/EditorSelectionPanel.cpp | 1 + Editor/src/Windows/EditorSelectionPanel.h | 2 ++ 2 files changed, 3 insertions(+) diff --git a/Editor/src/Windows/EditorSelectionPanel.cpp b/Editor/src/Windows/EditorSelectionPanel.cpp index f2b40b1b..3468d5a0 100644 --- a/Editor/src/Windows/EditorSelectionPanel.cpp +++ b/Editor/src/Windows/EditorSelectionPanel.cpp @@ -36,6 +36,7 @@ EditorSelectionPanel::EditorSelectionPanel(EditorSelection& inSelection) RegisterComponentDrawer(); RegisterComponentDrawer(&meshPanel); + //RegisterComponentDrawer(&skinnedMeshPanel); RegisterComponentDrawer(); RegisterComponentDrawer(); RegisterComponentDrawer(); diff --git a/Editor/src/Windows/EditorSelectionPanel.h b/Editor/src/Windows/EditorSelectionPanel.h index 5a097f86..66d26aac 100644 --- a/Editor/src/Windows/EditorSelectionPanel.h +++ b/Editor/src/Windows/EditorSelectionPanel.h @@ -8,6 +8,7 @@ #include "../ComponentsPanel/TransformPanel.h" #include "../ComponentsPanel/LightPanel.h" #include "../ComponentsPanel/MeshPanel.h" +#include "../ComponentsPanel/SkinnedMeshPanel.h" #include "../ComponentsPanel/CameraPanel.h" #include "../ComponentsPanel/CapsuleColliderPanel.h" #include "../ComponentsPanel/CylinderColliderPanel.h" @@ -33,6 +34,7 @@ class EditorSelectionPanel private: TransformPanel mTransformPanel; MeshPanel meshPanel; + SkinnedMeshPanel skinnedMeshPanel; EditorSelection* selection = nullptr; Ref currentFile;