Page MenuHome

Curve extrude operator
Needs ReviewPublic

Authored by Matthew (Loading_M_) on May 6 2019, 8:31 PM.

Details

Summary

Fixes the extrude operator to be able to extrude the middle of a curve in a more intuitive way. The extrude operator will still extend the end, but also allows for a curve to be extended from the middle of a curve.

Diff Detail

Event Timeline

Removed unneeded printf statements.

Campbell Barton (campbellbarton) requested changes to this revision.May 7 2019, 6:09 AM

Checked this patch, extruding from a single vertex crashes.

Otherwise works well.

This revision now requires changes to proceed.May 7 2019, 6:09 AM

I can't reproduce any crashing on Linux Mint. Can you give me some more details, like which platform you tested the patch on?

Fixed the crashing issue with a single vertex. It would appear that C is not short circuiting Boolean expressions (or executing them in reverse) that are part of a return statement. I also fixed a minor issue where a single vertex in a cyclical curve couldn't be extruded.