Page MenuHome

Fix T68807: smoothing group issue
ClosedPublic

Authored by Philipp Oeser (lichtwerk) on Aug 22 2019, 10:08 PM.

Details

Summary

Showed in OBJ export.
Caused by comparison mistake in rB2e91fc39ac7.

Diff Detail

Repository
rB Blender
Branch
T68807 (branched from master)
Build Status
Buildable 4561
Build 4561: arc lint + arc unit

Event Timeline

Bastien Montagne (mont29) requested changes to this revision.Aug 23 2019, 11:33 AM

I don't see why you break the whole logic here, that new version of the check will also be slightly more expansive since you fetch the other poly without first checking the first poly...

Just change the stupid comparison mistake (return (mp_other->flag & ME_SMOOTH) != 0; to return (mp_other->flag & ME_SMOOTH) == 0;) and you are done here. :)

This revision now requires changes to proceed.Aug 23 2019, 11:33 AM
  • Revert "Fix T68807: smoothing group issue"
  • just correct comparison mistake

I don't see why you break the whole logic here, that new version of the check will also be slightly more expansive since you fetch the other poly without first checking the first poly...

Just change the stupid comparison mistake (return (mp_other->flag & ME_SMOOTH) != 0; to return (mp_other->flag & ME_SMOOTH) == 0;) and you are done here. :)

Not sure what I was thinking there tbh. [ was late yesterday ;) ]

This revision is now accepted and ready to land.Aug 23 2019, 4:19 PM
This revision was automatically updated to reflect the committed changes.