|
Blender V4.3
|
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 int | snap_curves_to_surface_exec (bContext *C, wmOperator *op) |
|
strong |
| Enumerator | |
|---|---|
| Nearest | |
| Deform | |
Definition at line 585 of file curves_ops.cc.
|
static |
Definition at line 711 of file curves_ops.cc.
References BKE_report(), 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 590 of file curves_ops.cc.
References Geometry::attributes, BKE_bvhtree_from_mesh_get(), BLI_SCOPED_DEFER, BVHTREE_FROM_CORNER_TRIS, Object::data, free_bvhtree_from_mesh(), Curves::geometry, blender::Span< T >::is_empty(), blender::bke::AttributeAccessor::lookup(), snap_curves_to_surface_exec_object(), and Curves::surface_uv_map.
Referenced by snap_curves_to_surface_exec(), and snap_curves_to_surface_exec_object().