Skip to content

Commit

Permalink
Fixed incorrect behavior of single clicks with the inflate/deflate brush
Browse files Browse the repository at this point in the history
Performing a single click with the inflate or deflate brushes didn't affect the mesh with the right strength due to the picked brush normal not actually being normalized.
  • Loading branch information
ousnius committed Apr 18, 2020
1 parent 3138648 commit 86a530c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/program/OutfitStudio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9095,7 +9095,7 @@ bool wxGLPanel::StartBrushStroke(const wxPoint& screenPos) {
tpi.facetM = -1;
}

n.Normalize();
tpi.normal.Normalize();

Vector3 v;
Vector3 vo;
Expand Down

0 comments on commit 86a530c

Please sign in to comment.