Blender
V3.3
|
Enumerations | |
enum class | AttachMode { Nearest , Deform } |
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) |
Enumerator | |
---|---|
Nearest | |
Deform |
Definition at line 530 of file curves_ops.cc.
|
static |
Definition at line 664 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_object(), Curves::surface, Object::type, and WM_event_add_notifier().
Referenced by blender::ed::curves::CURVES_OT_snap_curves_to_surface().
|
static |
Definition at line 535 of file curves_ops.cc.
References ATTR_DOMAIN_CORNER, BKE_bvhtree_from_mesh_get(), BKE_mesh_runtime_looptri_ensure(), BKE_mesh_runtime_looptri_len(), BLI_SCOPED_DEFER, BVHTREE_FROM_LOOPTRI, CD_PROP_FLOAT2, curves, Object::data, free_bvhtree_from_mesh(), Curves::geometry, blender::Span< T >::is_empty(), blender::bke::AttributeAccessor::lookup(), blender::bke::mesh_attributes(), blender::threading::parallel_for(), Curves::surface_uv_map, blender::bke::GAttributeReader::typed(), and blender::bke::image::partial_update::wrap().
Referenced by snap_curves_to_surface_exec(), and blender::ed::curves::surface_set::surface_set_exec().