Page MenuHome

Sculpt: slight toporake performance inprovement.
AcceptedPublic

Authored by Jean Da Costa (jeacom256) on Wed, Sep 11, 5:03 PM.

Details

Summary

Just a small cleanup and a change to how toporake works.
Produces almost the same result but takes in account all the edges instead of only four, which gets rid of the need to select specific edges.
Also, added a check to prevent it from destroying boundaries.

Diff Detail

Repository
rB Blender

Event Timeline

Please follow the code style for comments.

Match comment style.

I didn't use the previous version that much, but this seems to work fine.

This revision is now accepted and ready to land.Thu, Sep 12, 2:37 AM
Brecht Van Lommel (brecht) added inline comments.
source/blender/editors/sculpt_paint/sculpt.c
2193

Edge s -> edges.