Skip to content

Commit

Permalink
Fixed some mesh cavities that would appear on the sided of the body w…
Browse files Browse the repository at this point in the history
…ith certain sliders
  • Loading branch information
thojmr committed Apr 27, 2022
1 parent 2ab736d commit 25bf0d1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -720,7 +720,7 @@ internal Vector3 SculptInflatedVerticie(PregnancyPlusData infConfigClone, Vector

//Don't allow any morphs to move behind the character's.z = 0 + extentOffset position, otherwise skin sometimes pokes out the back side :/
if (backExtentPos.z > smoothedVectorLs.z)
return originalVerticeLs;
return new Vector3(smoothedVectorLs.x, smoothedVectorLs.y, originalVerticeLs.z);

//Don't allow any morphs to move behind the original verticie z position, only forward expansion (ignoring ones already behind sphere center)
if (originalVerticeLs.z > smoothedVectorLs.z && originalVerticeLs.z > sphereCenterLs.z)
Expand Down

0 comments on commit 25bf0d1

Please sign in to comment.