From d77e1e9a532575b5a1a1e4ab84adfc334d8764c5 Mon Sep 17 00:00:00 2001 From: Saas Date: Thu, 19 Mar 2026 18:25:00 +0100 Subject: [PATCH] wrap GetShowDebugDrawOptions() with USE_EDITOR preprocessor --- Source/Engine/Level/Actors/AnimatedModel.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/Engine/Level/Actors/AnimatedModel.h b/Source/Engine/Level/Actors/AnimatedModel.h index b62b165c6..46ed275c0 100644 --- a/Source/Engine/Level/Actors/AnimatedModel.h +++ b/Source/Engine/Level/Actors/AnimatedModel.h @@ -440,6 +440,7 @@ public: API_FUNCTION() bool IsPlayingSlotAnimation(const StringView& slotName, Animation* anim = nullptr); private: +#if USE_EDITOR /// /// Used to hide options if when the skinned model or animation graph is null. /// @@ -447,6 +448,7 @@ private: { return SkinnedModel != nullptr && AnimationGraph != nullptr; } +#endif void ApplyRootMotion(const Transform& rootMotionDelta); void SyncParameters();