diff options
Diffstat (limited to 'source/30-game/EditorAttachmentImpl.cpp')
-rw-r--r-- | source/30-game/EditorAttachmentImpl.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/30-game/EditorAttachmentImpl.cpp b/source/30-game/EditorAttachmentImpl.cpp index 62d15eb..b09c133 100644 --- a/source/30-game/EditorAttachmentImpl.cpp +++ b/source/30-game/EditorAttachmentImpl.cpp @@ -1,6 +1,8 @@ #include "EditorAttachmentImpl.hpp" #include "EditorAttachment.hpp" +#include <Metadata.hpp> + EditorAttachment::EditorAttachment() { } @@ -15,7 +17,7 @@ std::unique_ptr<EditorAttachment> EaGameObject::Create(GameObject* object) { default: result = new EaGameObject(); break; } - result->name = GameObject::ToString(kind); + result->name = Metadata::EnumToString(kind); result->eulerAnglesRotation = glm::eulerAngles(object->GetRotation()); return std::unique_ptr<EditorAttachment>(result); } |