Page MenuHome

Curves: Port reverse curves node to the new data-block
ClosedPublic

Authored by Hans Goudey (HooglyBoogly) on Mar 18 2022, 4:37 AM.

Details

Summary

Create a function on CurvesGeometry that can also be used for an edit
mode operator in the future. Dealing with CustomData directly means the
code is a bit more verbose than would be ideal, but this would be a
simple thing to clean up in the future if we get an attribute API here.

Also change the reverse node to first work on a read-only geometry
component, and only get write access if there is a curve selected.

Diff Detail

Event Timeline

source/blender/blenkernel/intern/curves_geometry.cc
870

inconsistent parameter name

917

that optimization doesn't seem to help much

  • Remove useless optimization, cleanup, other fixes
This revision is now accepted and ready to land.Mar 18 2022, 6:19 PM