|
Blender V4.3
|
Functions | |
| static void | bmesh_vert_edge_face_layer_selected_values_set (BMesh &bm, const BMIterType iter_type, const GPointer value, const int offset) |
| static void | bmesh_loop_layer_selected_values_set (BMEditMesh &em, const GPointer value, const int offset) |
| static int | mesh_set_attribute_exec (bContext *C, wmOperator *op) |
| static int | mesh_set_attribute_invoke (bContext *C, wmOperator *op, const wmEvent *event) |
| static void | mesh_set_attribute_ui (bContext *C, wmOperator *op) |
|
static |
For face select mode, set face corner values of any selected face. For edge and vertex select mode, set face corner values of loops connected to selected vertices.
Definition at line 107 of file editmesh_attribute.cc.
References bm, BMEditMesh::bm, BM_elem_flag_test, BM_ELEM_SELECT, BM_FACES_OF_MESH, BM_ITER_ELEM, BM_ITER_MESH, BM_LOOPS_OF_FACE, BM_LOOPS_OF_VERT, BM_VERTS_OF_MESH, BMHeader::data, BMLoop::head, POINTER_OFFSET, SCE_SELECT_EDGE, SCE_SELECT_FACE, SCE_SELECT_VERTEX, and BMEditMesh::selectmode.
Referenced by mesh_set_attribute_exec().
|
static |
Definition at line 88 of file editmesh_attribute.cc.
References bm, BM_elem_flag_test, BM_ELEM_SELECT, BM_ITER_MESH, BMHeader::data, BMElem::head, and POINTER_OFFSET.
Referenced by mesh_set_attribute_exec().
|
static |
Definition at line 143 of file editmesh_attribute.cc.
References BKE_attribute_domain(), BKE_attributes_active_get(), BKE_editmesh_from_object(), BKE_view_layer_array_from_objects_in_edit_mode_unique_data(), BLI_assert_unreachable, BLI_SCOPED_DEFER, bm, BMEditMesh::bm, BM_EDGES_OF_MESH, BM_FACES_OF_MESH, BM_VERTS_OF_MESH, bmesh_loop_layer_selected_values_set(), bmesh_vert_edge_face_layer_selected_values_set(), BUFFER_FOR_CPP_TYPE_VALUE, EDBMUpdate_Params::calc_looptris, blender::bke::DataTypeConversions::convert_to_uninitialized(), blender::bke::Corner, CTX_data_scene(), CTX_data_view_layer(), CTX_wm_view3d(), blender::bke::custom_data_type_to_cpp_type(), blender::CPPType::destruct(), ED_mesh_context(), EDBM_update(), blender::bke::Edge, blender::bke::Face, AttributeOwner::from_id(), blender::CPPType::get(), blender::bke::get_implicit_type_conversions(), blender::bke::DataTypeConversions::is_convertible(), OPERATOR_CANCELLED, OPERATOR_FINISHED, blender::bke::Point, wmOperator::ptr, blender::ed::geometry::rna_property_for_attribute_type_retrieve_value(), CustomDataLayer::type, and update().
|
static |
Definition at line 217 of file editmesh_attribute.cc.
References BKE_attribute_domain(), BKE_attributes_active_get(), bm, BM_mesh_active_elem_get(), blender::bke::custom_data_type_to_cpp_type(), BMHeader::data, blender::ed::mesh::domain_to_htype(), ED_mesh_context(), AttributeOwner::from_id(), BMElem::head, BMHeader::htype, POINTER_OFFSET, wmOperator::ptr, blender::ed::geometry::rna_property_for_attribute_type_set_value(), blender::ed::geometry::rna_property_for_type(), RNA_property_is_set(), and WM_operator_props_popup().
|
static |
Definition at line 248 of file editmesh_attribute.cc.
References BKE_attributes_active_get(), blender::StringRefNull::c_str(), ED_mesh_context(), AttributeOwner::from_id(), wmOperator::layout, CustomDataLayer::name, wmOperator::ptr, blender::ed::geometry::rna_property_name_for_type(), CustomDataLayer::type, UI_ITEM_NONE, uiItemR(), uiLayoutColumn(), uiLayoutSetPropDecorate(), and uiLayoutSetPropSep().