Page MenuHome

Fix T92631: Fix regression with negative thickness in complex solidify
ClosedPublic

Authored by Henrik Dick (weasel) on Nov 14 2021, 11:11 PM.

Details

Summary

Fix T92631. This regression was introduced by D11832, but there was problems before that as well. I seem to have missed it in review.
Here is a picture which shows the state in 2.93 and with this patch:


The current state has more problems shown here:

This is the testfile:

Diff Detail

Repository
rB Blender

Event Timeline

Henrik Dick (weasel) requested review of this revision.Nov 14 2021, 11:11 PM
Henrik Dick (weasel) created this revision.

If this was missed before, would it make sense to have some comments to explain what's going on? It might otherwise not be obvious to a future contributor

  • added comments to the important variables

I recommend following the style guide for comments. (especially the symbol section).
https://wiki.blender.org/wiki/Style_Guide/C_Cpp#Comments

  • improved comment style

AFAIK this can be committed now (I still don't have commit rights). This should go into 3.0

@Campbell Barton (campbellbarton) : this all looks good to me. Do you think this could go in for 3.0?

The fix seems simple enough, and well tested, I will commit this.

I still think this file should become a regression test though. @Henrik Dick (weasel), would you be willing to look into that?

This revision is now accepted and ready to land.Nov 22 2021, 3:24 PM