From 9ca90cc295d8dc2742ff2c737c00510ac719a334 Mon Sep 17 00:00:00 2001
From: Rye Mutt <rye@alchemyviewer.org>
Date: Sat, 6 Mar 2021 17:10:11 -0500
Subject: [PATCH] Silence infuriating null animation spam

---
 indra/llcharacter/llmotioncontroller.cpp | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/indra/llcharacter/llmotioncontroller.cpp b/indra/llcharacter/llmotioncontroller.cpp
index a5a64ef0a63..58ceb4a0edb 100644
--- a/indra/llcharacter/llmotioncontroller.cpp
+++ b/indra/llcharacter/llmotioncontroller.cpp
@@ -341,6 +341,11 @@ void LLMotionController::removeMotionInstance(LLMotion* motionp)
 //-----------------------------------------------------------------------------
 LLMotion* LLMotionController::createMotion( const LLUUID &id )
 {
+	if (id.isNull())
+	{
+		return NULL;
+	}
+
 	// do we have an instance of this motion for this character?
 	LLMotion *motion = findMotion(id);
 
-- 
GitLab