Skip to content

Commit

Permalink
Fixed c63b261
Browse files Browse the repository at this point in the history
  • Loading branch information
ousnius committed Jan 6, 2016
1 parent c63b261 commit 1ef8634
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions OutfitStudio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4150,11 +4150,13 @@ void wxGLPanel::EndBrushStroke() {
if (activeStroke->BrushType() != TBT_MASK) {
os->ActiveShapeUpdated(strokeManager->GetCurStateStroke());

vector<string> shapes;
os->project->GetShapes(shapes);
for (auto &s : shapes) {
os->UpdateShapeSource(s);
os->project->RefreshMorphShape(s);
if (!os->bEditSlider && activeStroke->BrushType() != TBT_WEIGHT) {
vector<string> shapes;
os->project->GetShapes(shapes);
for (auto &s : shapes) {
os->UpdateShapeSource(s);
os->project->RefreshMorphShape(s);
}
}
}

Expand Down

0 comments on commit 1ef8634

Please sign in to comment.