From 12aa7524a68c1f649c18530e93514aec37bb3cb8 Mon Sep 17 00:00:00 2001
From: Rye Mutt <rye@alchemyviewer.org>
Date: Thu, 29 Feb 2024 10:01:19 -0500
Subject: [PATCH] Bonks

---
 indra/newview/bdfloaterposecreator.cpp | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/indra/newview/bdfloaterposecreator.cpp b/indra/newview/bdfloaterposecreator.cpp
index 1f4b8ff58e1..53769566f0a 100644
--- a/indra/newview/bdfloaterposecreator.cpp
+++ b/indra/newview/bdfloaterposecreator.cpp
@@ -119,6 +119,12 @@ BDFloaterPoseCreator::~BDFloaterPoseCreator()
 
 BOOL BDFloaterPoseCreator::postBuild()
 {
+	std::string pathname = gDirUtilp->getExpandedFilename(LL_PATH_USER_SETTINGS, "animations");
+	if (!gDirUtilp->fileExists(pathname))
+	{
+		LLFile::mkdir(pathname);
+	}
+
 	//BD - Posing
 	mJointScrolls = { { this->getChild<LLScrollListCtrl>("joints_scroll", true),
 						this->getChild<LLScrollListCtrl>("cv_scroll", true),
-- 
GitLab