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);