Page MenuHome

Object: Support converting curves object to mesh
ClosedPublic

Authored by Hans Goudey (HooglyBoogly) on Jan 5 2023, 10:58 PM.

Details

Summary

Previously you had to use a workaround with the Object info node to get
evaluated data from the new curves object to an original editable mesh.
This commit makes it so that a curves object can be converted directly
to a mesh object if it has evaluated curves or an evaluated mesh.

Diff Detail

Repository
rB Blender

Event Timeline

Hans Goudey (HooglyBoogly) requested review of this revision.Jan 5 2023, 10:58 PM
Hans Goudey (HooglyBoogly) created this revision.
Jacques Lucke (JacquesLucke) added inline comments.
source/blender/editors/object/object_add.cc
3395

Should probably add some method to ::CurvesGeometry that does bke::CurvesGeometry::wrap. Would look much more nice.

3396

unnecessary braces

This revision is now accepted and ready to land.Jan 5 2023, 11:20 PM
Hans Goudey (HooglyBoogly) marked 2 inline comments as done.Jan 6 2023, 3:29 PM
Hans Goudey (HooglyBoogly) added inline comments.
source/blender/editors/object/object_add.cc
3395

Yeah, that sounds like a nice improvement.

This revision was automatically updated to reflect the committed changes.
Hans Goudey (HooglyBoogly) marked an inline comment as done.