From 6d2f9c58a47fc7accda21fcc76538b9e0fe301b3 Mon Sep 17 00:00:00 2001 From: ousnius Date: Thu, 8 Sep 2016 19:44:03 +0200 Subject: [PATCH] Fixed invalid bone list pointer --- src/program/OutfitProject.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/program/OutfitProject.cpp b/src/program/OutfitProject.cpp index d9af93e4..6e618776 100644 --- a/src/program/OutfitProject.cpp +++ b/src/program/OutfitProject.cpp @@ -1251,8 +1251,8 @@ void OutfitProject::TransferSelectedWeights(const string& destShape, unordered_m owner->UpdateProgress(10, _("Gathering bones...")); vector* boneList; + vector allBoneList; if (!inBoneList) { - vector allBoneList; for (auto &boneName : workAnim.shapeBones[baseShape]) allBoneList.push_back(boneName);