From f0340443e6b89edcbc1b81645e93443372ccea67 Mon Sep 17 00:00:00 2001 From: ousnius Date: Wed, 5 Aug 2015 19:25:07 +0200 Subject: [PATCH] Done #65 --- BodySlideApp.cpp | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/BodySlideApp.cpp b/BodySlideApp.cpp index 7c5a4a3f..06770cfd 100644 --- a/BodySlideApp.cpp +++ b/BodySlideApp.cpp @@ -1232,21 +1232,38 @@ int BodySlideApp::BuildListBodies(const vector& outfitList, map 0) { + if (vbig > 0.0f) { currentDiffs.GetDiffIndices(dn, target, zapIdx); zapIdxAll[it->second] = zapIdx; } continue; } + currentDiffs.ApplyDiff(dn, target, vsmall, &vertsLow); currentDiffs.ApplyDiff(dn, target, vbig, &vertsHigh); } + if (!clamps.empty()) { for (auto &c : clamps) { string dn = currentSet[c].TargetDataName(it->first); @@ -1826,7 +1843,6 @@ void BodySlideFrame::OnZapCheckChanged(wxCommandEvent& event) { else sliderDisplays[sliderName]->zapCheckLo->SetValue(true); } - } else { if (sliderDisplays[sliderName]->oneSize) { @@ -1841,6 +1857,7 @@ void BodySlideFrame::OnZapCheckChanged(wxCommandEvent& event) { sliderDisplays[sliderName]->zapCheckLo->SetValue(false); } } + app->SetSliderChanged(sliderName, isLo); wxBeginBusyCursor(); app->RebuildPreviewMeshes(SMALL_PREVIEW);