|
Blender V5.0
|
Enumerations | |
| enum class | AttachMode { Nearest = 0 , Deform = 1 } |
Functions | |
| static void | snap_curves_to_surface_exec_object (Object &curves_ob, const Object &surface_ob, const AttachMode attach_mode, bool *r_invalid_uvs, bool *r_missing_uvs) |
| static wmOperatorStatus | snap_curves_to_surface_exec (bContext *C, wmOperator *op) |
|
strong |
| Enumerator | |
|---|---|
| Nearest | |
| Deform | |
Definition at line 576 of file curves_ops.cc.
|
static |
Definition at line 700 of file curves_ops.cc.
References BKE_report(), C, CTX_DATA_BEGIN, CTX_DATA_END, NC_WINDOW, OB_CURVES, OB_MESH, OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, RNA_enum_get(), RPT_ERROR, RPT_INFO, snap_curves_to_surface_exec(), snap_curves_to_surface_exec_object(), Curves::surface, Object::type, and WM_event_add_notifier().
Referenced by snap_curves_to_surface_exec().
|
static |
Definition at line 581 of file curves_ops.cc.
References Geometry::attributes, blender::bke::Corner, Object::data, Deform, Curves::geometry, blender::Span< T >::is_empty(), blender::bke::AttributeAccessor::lookup(), Nearest, blender::threading::parallel_for(), snap_curves_to_surface_exec_object(), and Curves::surface_uv_map.
Referenced by snap_curves_to_surface_exec(), snap_curves_to_surface_exec_object(), and blender::ed::curves::surface_set::surface_set_exec().