|
Blender V5.3
|
Classes | |
| class | AssetRepresentation |
| struct | ErrorsForType |
| struct | GeoOperatorLog |
| struct | GetIDName |
| class | MeshState |
| struct | OperatorTypeData |
| struct | RegistrationData |
Enumerations | |
| enum class | ConvertAttributeMode { Generic = 0 , VertexGroup = 1 } |
Variables | |
| static EnumPropertyItem | convert_attribute_mode_items [] |
| using blender::ed::geometry::OperatorsToRegister = CustomIDVectorSet<std::unique_ptr<OperatorTypeData>, GetIDName> |
Definition at line 1608 of file node_group_operator.cc.
|
strong |
| Enumerator | |
|---|---|
| Generic | |
| VertexGroup | |
Definition at line 604 of file geometry_attributes.cc.
|
static |
Adds a button for ot, which must be one registered with register_node_group_operators() and have the OperatorTypeData set as the custom data pointer.
Definition at line 2040 of file node_group_operator.cc.
References add_node_group_operator_button(), C, blender::wmOperatorType::custom_data, blender::ed::asset::draw_asset_menu_item(), blender::ed::asset::find_asset_from_weak_ref(), blender::wm::InvokeRegionWin, blender::ui::Layout::op(), and UI_ITEM_NONE.
Referenced by add_node_group_operator_button(), catalog_assets_draw(), and catalog_assets_draw_unassigned().
Support shape keys by propagating them through geometry nodes as attributes.
Definition at line 490 of file node_group_operator.cc.
References blender::bke::MutableAttributeAccessor::add(), add_shape_keys_as_attributes(), blender::Key::block, blender::KeyBlock::data, blender::VArray< T >::from_span(), blender::bke::Point, blender::Key::refkey, shape_key_attribute_name(), and blender::KeyBlock::totelem.
Referenced by add_shape_keys_as_attributes(), and get_original_geometry_eval_copy().
| GeometryNodeAssetTraitFlag blender::ed::geometry::asset_flag_for_context | ( | const Object & | active_object | ) |
Definition at line 1910 of file node_group_operator.cc.
References asset_flag_for_context(), blender::Object::mode, and blender::Object::type.
Referenced by asset_flag_for_context(), asset_flag_for_context(), and run_node_group_poll().
|
static |
Definition at line 1849 of file node_group_operator.cc.
References asset_flag_for_context(), blender::GEO_NODE_ASSET_CURVE, blender::GEO_NODE_ASSET_EDIT, blender::GEO_NODE_ASSET_GREASE_PENCIL, blender::GEO_NODE_ASSET_MESH, blender::GEO_NODE_ASSET_OBJECT, blender::GEO_NODE_ASSET_PAINT, blender::GEO_NODE_ASSET_POINTCLOUD, blender::GEO_NODE_ASSET_SCULPT, blender::GEO_NODE_ASSET_TOOL, blender::OB_CURVES, blender::OB_GREASE_PENCIL, blender::OB_MESH, blender::OB_MODE_EDIT, blender::OB_MODE_OBJECT, blender::OB_MODE_PAINT_GREASE_PENCIL, blender::OB_MODE_SCULPT, blender::OB_MODE_SCULPT_CURVES, blender::OB_MODE_SCULPT_GREASE_PENCIL, and blender::OB_POINTCLOUD.
Definition at line 1844 of file node_group_operator.cc.
References asset_menu_poll(), C, and blender::CTX_wm_view3d().
Referenced by asset_menu_poll(), node_group_operator_assets_menu(), and node_group_operator_assets_menu_unassigned().
Definition at line 228 of file geometry_attributes.cc.
References attribute_set_poll(), blender::BKE_attributes_active_name_get(), blender::BKE_editmesh_bmesh_get(), blender::bm, blender::BM_data_layer_lookup(), C, blender::CTX_wm_operator_poll_msg_set(), ELEM, blender::bke::Float4x4, blender::AttributeOwner::from_id(), blender::AttributeOwner::get_accessor(), blender::AttributeOwner::get_mesh(), blender::bke::AttributeAccessor::lookup_meta_data(), blender::Mesh, blender::bke::Quaternion, blender::bke::String, blender::AttributeOwner::type(), and blender::BMDataLayerLookup::type.
Referenced by blender::ed::curves::active_attribute_poll(), blender::ed::pointcloud::active_attribute_poll(), attribute_set_poll(), and blender::ed::mesh::mesh_active_attribute_poll().
|
static |
Definition at line 850 of file node_group_operator.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::begin(), build_extra_depsgraph(), blender::DEG_evaluate_on_refresh(), blender::DEG_get_bmain(), blender::DEG_get_input_scene(), blender::DEG_get_input_view_layer(), blender::DEG_get_mode(), blender::DEG_graph_build_from_ids(), blender::DEG_graph_new(), and blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::end().
Referenced by build_extra_depsgraph(), and run_node_group_exec().
Definition at line 2065 of file node_group_operator.cc.
References add_node_group_operator_button(), C, catalog_assets_draw(), blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains_as(), blender::ui::Layout::context_string_set(), blender::CTX_data_active_object(), blender::CTX_data_string_get(), blender::data, find_tree_node(), get_builtin_menus(), get_registration_data(), IFACE_, blender::Menu::layout, blender::ui::Layout::menu(), menu_operators_poll(), blender::Object::mode, node, blender::ui::Layout::separator(), blender::Object::type, and blender::WM_operator_poll().
Referenced by catalog_assets_draw(), and node_group_operator_assets_menu().
|
static |
Definition at line 2125 of file node_group_operator.cc.
References add_node_group_operator_button(), C, catalog_assets_draw_unassigned(), blender::data, get_registration_data(), IFACE_, blender::ui::Layout::label(), blender::Menu::layout, blender::ui::Layout::separator(), and blender::WM_operator_poll().
Referenced by catalog_assets_draw_unassigned(), and node_group_operator_assets_menu_unassigned().
| bool blender::ed::geometry::convert_attribute | ( | AttributeOwner & | owner, |
| bke::MutableAttributeAccessor | attributes, | ||
| StringRef | name, | ||
| bke::AttrDomain | dst_domain, | ||
| bke::AttrType | dst_type, | ||
| ReportList * | reports ) |
Convert an attribute with the given name to a new type and domain. The attribute must already exist.
Definition at line 630 of file geometry_attributes.cc.
References blender::bke::MutableAttributeAccessor::add(), blender::BKE_attribute_remove(), blender::BKE_attributes_active_name_get(), blender::BKE_attributes_active_set(), blender::BKE_id_attributes_active_color_set(), blender::BKE_id_attributes_default_color_set(), blender::BKE_report(), blender::BLI_assert(), blender::bke::AttributeAccessor::contains(), convert_attribute(), blender::GArray< Allocator >::data(), ELEM, blender::AttributeOwner::get_mesh(), blender::bke::mesh::is_color_attribute(), blender::bke::mesh::is_uv_map(), blender::bke::AttributeAccessor::lookup_or_default(), blender::GVArrayCommon::materialize_to_uninitialized(), blender::Mesh, blender::RPT_ERROR, blender::GVArrayCommon::size(), blender::bke::String, blender::StringRef::StringRef(), blender::AttributeOwner::type(), and blender::GVArrayCommon::type().
Referenced by convert_attribute(), geometry_attribute_convert_exec(), geometry_color_attribute_convert_exec(), and blender::ed::sculpt_paint::undo::set_active_layer().
|
static |
Definition at line 1385 of file node_group_operator.cc.
References blender::BLI_assert(), create_inputs_srna(), blender::IDProperty::data, blender::ed::geometry::OperatorTypeData::generated_structs, get_input_socket_struct_rna(), blender::IDPropertyData::group, blender::IDP_GetPropertyFromGroup(), blender::IDP_GROUP, blender::IDProperty::name, blender::RNA_blender_rna_get(), blender::RNA_def_pointer_runtime(), blender::RNA_def_struct_ptr(), blender::RNA_PropertyGroup, blender::RNA_struct_in_public_namespace(), blender::RNA_struct_ui_description(), blender::RNA_struct_ui_name(), and blender::IDProperty::type.
Referenced by create_inputs_srna(), and register_node_tool().
|
static |
Definition at line 1412 of file node_group_operator.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), blender::BLI_assert(), create_panels_srna(), blender::IDProperty::data, blender::IDPropertyData::group, IDP_bool_get, blender::IDP_BOOLEAN, blender::IDP_GetPropertyFromGroup(), blender::IDP_GROUP, blender::IDProperty::name, blender::RNA_blender_rna_get(), blender::RNA_def_boolean(), blender::RNA_def_struct_ptr(), blender::RNA_PropertyGroup, blender::RNA_struct_in_public_namespace(), and blender::IDProperty::type.
Referenced by create_panels_srna(), and register_node_tool().
|
static |
Definition at line 224 of file node_group_operator.cc.
References blender::BKE_asset_metadata_idprop_find(), custom_idname_for_asset(), blender::IDP_STRING, IDP_string_get, and blender::IDProperty::type.
Referenced by custom_idname_for_asset(), and blender::ed::geometry::OperatorTypeData::from_asset().
|
static |
Definition at line 291 of file node_group_operator.cc.
References custom_idname_for_group(), blender::bNodeTree::geometry_node_asset_traits, blender::GeometryNodeAssetTraits::node_tool_idname, and blender::StringRefNull::StringRefNull().
Referenced by custom_idname_for_group(), and blender::ed::geometry::OperatorTypeData::from_group().
|
static |
Definition at line 1573 of file node_group_operator.cc.
References ensure_child(), and find_tree_child().
Referenced by ensure_child(), and tree_add_type().
|
static |
Definition at line 1547 of file node_group_operator.cc.
References find_tree_child().
Referenced by ensure_child(), find_tree_child(), and find_tree_node().
|
static |
Definition at line 1558 of file node_group_operator.cc.
References blender::BLI_assert(), blender::ed::geometry::RegistrationData::TypeTreeItem::children, blender::blender::StringRefBase::find_first_of(), find_tree_child(), find_tree_node(), blender::blender::StringRefBase::is_empty(), blender::blender::StringRefBase::not_found, and blender::blender::StringRefBase::substr().
Referenced by catalog_assets_draw(), find_tree_node(), and ui_template_node_operator_asset_menu_items().
|
static |
Find all the visible node editors to log values for.
Definition at line 408 of file node_group_operator.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::bScreen::areabase, blender::BKE_workspace_active_screen_get(), blender::SpaceNode::edittree, find_verbose_log_contexts(), blender::nodes::eval_log::NodesEvalLog::get_context_hash_by_zone_for_node_editor(), hash, blender::SpaceNode::node_tree_sub_type, blender::SNODE_GEOMETRY_TOOL, blender::SPACE_NODE, blender::ScrArea::spacedata, blender::SpaceLink::spacetype, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::values(), blender::Main::wm, and blender::wmWindow::workspace_hook.
Referenced by find_verbose_log_contexts(), and run_node_group_exec().
|
static |
Gather IDs referenced from node group input properties (the redo panel). In the end, the group input properties will be copied to contain evaluated data-blocks from the active and/or an extra depsgraph.
Definition at line 827 of file node_group_operator.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::BKE_libblock_find_name(), gather_input_ids(), blender::RNA_pointer_get(), blender::RNA_string_get(), and socket_type_to_id_type().
Referenced by gather_input_ids(), and run_node_group_exec().
|
static |
Gather IDs used by the node group, and the node group itself if there are any. We need to use all IDs because the only mechanism we have to replace the socket ID pointers with their evaluated counterparts is evaluating the node group data-block itself.
Definition at line 765 of file node_group_operator.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::BLI_assert(), blender::bke::bNodeTreeRuntime::eval_dependencies, gather_node_group_ids(), blender::bNodeTree::id, blender::bNodeTree::runtime, and blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size().
Referenced by gather_node_group_ids(), and run_node_group_exec().
|
static |
Definition at line 872 of file node_group_operator.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::Vector< T, InlineBufferCapacity, Allocator >::append(), C, blender::CTX_data_active_object(), CTX_DATA_BEGIN, CTX_DATA_END, blender::CTX_data_main(), blender::CTX_data_scene(), blender::CTX_data_view_layer(), blender::CTX_wm_view3d(), FOREACH_OBJECT_IN_MODE_BEGIN, FOREACH_OBJECT_IN_MODE_END, gather_supported_objects(), blender::OB_MODE_OBJECT, object_has_editable_data(), and blender::Object::type.
Referenced by gather_supported_objects(), and run_node_group_exec().
|
static |
Definition at line 370 of file geometry_attributes.cc.
References blender::bke::AttributeStorage::add(), blender::bke::attribute_type_to_cpp_type(), blender::BKE_attribute_calc_unique_name(), blender::BKE_attribute_new(), blender::BKE_attributes_active_set(), blender::BKE_editmesh_bmesh_get_for_write(), blender::BKE_report(), blender::bm, C, blender::ed::object::context_object(), blender::bke::custom_data_type_to_attr_type(), blender::Object::data, blender::DEG_id_tag_update(), blender::bke::AttributeAccessor::domain_size(), blender::bke::AttributeAccessor::domain_supported(), blender::bke::Attribute::ArrayData::from_default_value(), blender::AttributeOwner::from_id(), geometry_attribute_add_exec(), blender::AttributeOwner::get_accessor(), blender::AttributeOwner::get_mesh(), blender::AttributeOwner::get_storage(), blender::ID_RECALC_GEOMETRY, layer, MAX_NAME, blender::Mesh, blender::bke::Attribute::name(), NC_GEOM, ND_DATA, blender::OPERATOR_CANCELLED, blender::OPERATOR_FINISHED, blender::wmOperator::ptr, blender::wmOperator::reports, blender::RNA_enum_get(), blender::RNA_string_get(), blender::RPT_ERROR, set_active_default_status_on_add(), blender::AttributeOwner::type(), and blender::WM_main_add_notifier().
Referenced by geometry_attribute_add_exec(), and GEOMETRY_OT_attribute_add().
|
static |
Definition at line 428 of file geometry_attributes.cc.
References BLT_I18NCONTEXT_OPERATOR_DEFAULT, C, CTX_IFACE_, DATA_, blender::bke::subdiv::free(), geometry_attribute_add_invoke(), IFACE_, blender::wmOperator::ptr, blender::RNA_property_enum_items(), blender::RNA_property_enum_set(), blender::RNA_property_is_set(), blender::RNA_property_string_set(), blender::RNA_struct_find_property(), blender::EnumPropertyItem::value, and blender::WM_operator_props_popup_confirm_ex().
Referenced by geometry_attribute_add_invoke(), and GEOMETRY_OT_attribute_add().
|
static |
Definition at line 696 of file geometry_attributes.cc.
References blender::BKE_attribute_remove(), blender::BKE_attributes_active_index_p(), blender::BKE_attributes_active_index_validate(), blender::BKE_attributes_active_name_get(), blender::BKE_attributes_active_set(), blender::BKE_defvert_add_index_notest(), blender::BKE_id_defgroup_list_get(), blender::BKE_object_defgroup_active_index_set(), blender::BKE_object_defgroup_data_create(), blender::BKE_object_defgroup_new(), blender::BLI_findindex(), C, blender::ed::object::context_object(), convert_attribute(), blender::bke::custom_data_type_to_attr_type(), blender::Object::data, blender::DEG_id_tag_update(), blender::AttributeOwner::from_id(), Generic, geometry_attribute_convert_exec(), blender::AttributeOwner::get_accessor(), blender::ID_RECALC_GEOMETRY, blender::IndexRange::IndexRange(), blender::bke::AttributeAccessor::lookup_or_default(), blender::VArrayCommon< T >::materialize(), NC_GEOM, ND_DATA, blender::OB_MESH, blender::OPERATOR_CANCELLED, blender::OPERATOR_FINISHED, blender::bke::Point, blender::wmOperator::ptr, blender::wmOperator::reports, blender::RNA_enum_get(), blender::Object::type, VertexGroup, and blender::WM_main_add_notifier().
Referenced by geometry_attribute_convert_exec(), and GEOMETRY_OT_attribute_convert().
|
static |
Definition at line 989 of file geometry_attributes.cc.
References blender::bke::attr_type_to_custom_data_type(), blender::BKE_attributes_active_name_get(), C, blender::ed::object::context_object(), blender::Object::data, blender::bke::AttributeMetaData::data_type, blender::bke::AttributeMetaData::domain, blender::AttributeOwner::from_id(), blender::bke::AttributeAccessor::from_id(), geometry_attribute_convert_invoke(), IFACE_, blender::bke::AttributeAccessor::lookup_meta_data(), blender::wmOperator::ptr, blender::RNA_property_enum_set(), blender::RNA_property_is_set(), blender::RNA_struct_find_property(), and blender::WM_operator_props_dialog_popup().
Referenced by geometry_attribute_convert_invoke(), and GEOMETRY_OT_attribute_convert().
|
static |
Definition at line 1042 of file geometry_attributes.cc.
References C, blender::ed::object::context_object(), convert_attribute_mode_items, Generic, geometry_attribute_convert_mode_itemf(), blender::OB_MESH, blender::rna_enum_dummy_NULL_items, blender::RNA_enum_item_add(), blender::RNA_enum_item_end(), and blender::Object::type.
Referenced by geometry_attribute_convert_mode_itemf(), and GEOMETRY_OT_attribute_convert().
|
static |
Definition at line 609 of file geometry_attributes.cc.
References blender::BKE_attributes_active_name_get(), C, blender::ed::object::context_object(), blender::CTX_data_edit_object(), blender::CTX_wm_operator_poll_msg_set(), blender::data, blender::Object::data, blender::AttributeOwner::from_id(), geometry_attribute_convert_poll(), geometry_attributes_poll(), blender::OB_MESH, and blender::Object::type.
Referenced by geometry_attribute_convert_poll(), and GEOMETRY_OT_attribute_convert().
|
static |
Definition at line 1013 of file geometry_attributes.cc.
References C, blender::ed::object::context_object(), Generic, geometry_attribute_convert_ui(), blender::wmOperator::layout, blender::OB_MESH, blender::OB_POINTCLOUD, blender::ui::Layout::prop(), blender::wmOperator::ptr, blender::RNA_enum_get(), blender::Object::type, UI_ITEM_NONE, blender::ui::Layout::use_property_decorate_set(), and blender::ui::Layout::use_property_split_set().
Referenced by geometry_attribute_convert_ui(), and GEOMETRY_OT_attribute_convert().
|
static |
Definition at line 328 of file geometry_attributes.cc.
References C, blender::ed::object::context_object(), blender::Object::data, blender::AttributeOwner::from_id(), geometry_attribute_domain_itemf(), blender::rna_enum_attribute_domain_itemf(), and blender::rna_enum_dummy_NULL_items.
Referenced by geometry_attribute_domain_itemf(), GEOMETRY_OT_attribute_add(), and GEOMETRY_OT_attribute_convert().
|
static |
Definition at line 498 of file geometry_attributes.cc.
References blender::BKE_attribute_remove(), blender::BKE_attributes_active_index_p(), blender::BKE_attributes_active_index_validate(), blender::BKE_attributes_active_name_get(), C, blender::ed::object::context_object(), blender::Object::data, blender::DEG_id_tag_update(), blender::AttributeOwner::from_id(), geometry_attribute_remove_exec(), blender::ID_RECALC_GEOMETRY, NC_GEOM, ND_DATA, blender::OPERATOR_CANCELLED, blender::OPERATOR_FINISHED, blender::wmOperator::reports, and blender::WM_main_add_notifier().
Referenced by geometry_attribute_remove_exec(), and GEOMETRY_OT_attribute_remove().
|
static |
Definition at line 306 of file geometry_attributes.cc.
References C, blender::ed::object::context_object(), geometry_attributes_for_mesh_poll(), geometry_attributes_with_id_type_poll_ex(), and blender::ID_ME.
Referenced by geometry_attributes_for_mesh_poll(), and GEOMETRY_OT_color_attribute_render_set().
|
static |
Definition at line 301 of file geometry_attributes.cc.
References C, blender::ed::object::context_object(), geometry_attributes_poll(), and geometry_attributes_poll_ex().
Referenced by geometry_attribute_convert_poll(), geometry_attributes_poll(), geometry_attributes_remove_poll(), geometry_color_attribute_convert_poll(), geometry_color_attributes_duplicate_poll(), geometry_color_attributes_remove_poll(), GEOMETRY_OT_attribute_add(), and GEOMETRY_OT_color_attribute_add().
Definition at line 272 of file geometry_attributes.cc.
References blender::BKE_id_is_editable(), C, blender::CTX_data_main(), blender::data, blender::Object::data, blender::bke::AttributeAccessor::from_id(), geometry_attributes_poll_ex(), and blender::Object::id.
Referenced by geometry_attributes_poll(), geometry_attributes_poll_ex(), and geometry_attributes_with_id_type_poll_ex().
|
static |
Definition at line 312 of file geometry_attributes.cc.
References blender::BKE_attributes_active_name_get(), C, blender::ed::object::context_object(), blender::data, blender::Object::data, blender::AttributeOwner::from_id(), geometry_attributes_poll(), and geometry_attributes_remove_poll().
Referenced by geometry_attributes_remove_poll(), and GEOMETRY_OT_attribute_remove().
|
static |
Definition at line 286 of file geometry_attributes.cc.
References C, blender::Object::data, geometry_attributes_poll_ex(), geometry_attributes_with_id_type_poll_ex(), and blender::GS().
Referenced by geometry_attributes_for_mesh_poll(), and geometry_attributes_with_id_type_poll_ex().
|
static |
Definition at line 536 of file geometry_attributes.cc.
References blender::bke::MutableAttributeAccessor::add(), blender::BKE_attribute_calc_unique_name(), blender::BKE_attribute_new(), blender::BKE_editmesh_bmesh_get_for_write(), blender::BKE_id_attributes_active_color_set(), blender::BKE_id_attributes_color_find(), blender::BKE_id_attributes_default_color_name(), blender::BKE_id_attributes_default_color_set(), blender::bm, C, blender::ed::object::context_object(), blender::bke::custom_data_type_to_attr_type(), blender::Object::data, blender::DEG_id_tag_update(), blender::AttributeOwner::from_id(), geometry_color_attribute_add_exec(), blender::AttributeOwner::get_accessor(), blender::AttributeOwner::get_mesh(), blender::ID_RECALC_GEOMETRY, layer, MAX_NAME, blender::Mesh, NC_GEOM, ND_DATA, blender::ed::sculpt_paint::object_active_color_init(), blender::OPERATOR_CANCELLED, blender::OPERATOR_FINISHED, blender::wmOperator::ptr, blender::wmOperator::reports, blender::RNA_enum_get(), blender::RNA_float_get_array(), blender::RNA_string_get(), blender::AttributeOwner::type(), and blender::WM_main_add_notifier().
Referenced by geometry_color_attribute_add_exec(), and GEOMETRY_OT_color_attribute_add().
|
static |
Definition at line 588 of file geometry_attributes.cc.
References BLT_I18NCONTEXT_OPERATOR_DEFAULT, C, CTX_IFACE_, DATA_, geometry_color_attribute_add_invoke(), IFACE_, blender::wmOperator::ptr, blender::RNA_property_is_set(), blender::RNA_property_string_set(), blender::RNA_struct_find_property(), and blender::WM_operator_props_popup_confirm_ex().
Referenced by geometry_color_attribute_add_invoke(), and GEOMETRY_OT_color_attribute_add().
|
static |
Definition at line 761 of file geometry_attributes.cc.
References geometry_color_attribute_add_ui(), blender::ui::ITEM_R_EXPAND, blender::wmOperator::layout, blender::ui::Layout::prop(), blender::wmOperator::ptr, UI_ITEM_NONE, blender::ui::Layout::use_property_decorate_set(), and blender::ui::Layout::use_property_split_set().
Referenced by geometry_color_attribute_add_ui(), and GEOMETRY_OT_color_attribute_add().
|
static |
Definition at line 1099 of file geometry_attributes.cc.
References C, blender::ed::object::context_object(), convert_attribute(), blender::bke::custom_data_type_to_attr_type(), blender::Object::data, blender::DEG_id_tag_update(), blender::AttributeOwner::from_id(), geometry_color_attribute_convert_exec(), blender::ID_RECALC_GEOMETRY, NC_GEOM, ND_DATA, blender::OPERATOR_FINISHED, blender::wmOperator::ptr, blender::wmOperator::reports, blender::RNA_enum_get(), and blender::WM_main_add_notifier().
Referenced by geometry_color_attribute_convert_exec(), and GEOMETRY_OT_color_attribute_convert().
|
static |
Definition at line 1116 of file geometry_attributes.cc.
References blender::bke::attr_type_to_custom_data_type(), C, blender::ed::object::context_object(), blender::Object::data, blender::bke::AttributeMetaData::data_type, blender::bke::AttributeMetaData::domain, geometry_color_attribute_convert_invoke(), IFACE_, blender::wmOperator::ptr, blender::RNA_property_enum_set(), blender::RNA_property_is_set(), blender::RNA_struct_find_property(), and blender::WM_operator_props_dialog_popup().
Referenced by geometry_color_attribute_convert_invoke(), and GEOMETRY_OT_color_attribute_convert().
|
static |
Definition at line 1073 of file geometry_attributes.cc.
References C, blender::ed::object::context_object(), blender::CTX_data_edit_object(), blender::CTX_wm_operator_poll_msg_set(), blender::Object::data, geometry_attributes_poll(), geometry_color_attribute_convert_poll(), blender::GS(), blender::ID_ME, blender::bke::mesh::is_color_attribute(), and blender::bke::AttributeAccessor::lookup_meta_data().
Referenced by geometry_color_attribute_convert_poll(), and GEOMETRY_OT_color_attribute_convert().
|
static |
Definition at line 1138 of file geometry_attributes.cc.
References geometry_color_attribute_convert_ui(), blender::ui::ITEM_R_EXPAND, blender::wmOperator::layout, blender::ui::Layout::prop(), blender::wmOperator::ptr, blender::ui::Layout::use_property_decorate_set(), and blender::ui::Layout::use_property_split_set().
Referenced by geometry_color_attribute_convert_ui(), and GEOMETRY_OT_color_attribute_convert().
|
static |
Definition at line 925 of file geometry_attributes.cc.
References blender::bke::MutableAttributeAccessor::add(), blender::BKE_attribute_calc_unique_name(), blender::BKE_id_attributes_active_color_name(), blender::BKE_id_attributes_active_color_set(), C, blender::ed::object::context_object(), blender::bke::cpp_type_to_attribute_type(), blender::Object::data, blender::DEG_id_tag_update(), blender::bke::GAttributeReader::domain, blender::AttributeOwner::from_id(), geometry_color_attribute_duplicate_exec(), blender::GS(), blender::ID_ME, blender::ID_RECALC_GEOMETRY, blender::bke::AttributeAccessor::lookup(), NC_GEOM, ND_DATA, blender::OPERATOR_CANCELLED, blender::OPERATOR_FINISHED, blender::GVArrayCommon::type(), blender::bke::GAttributeReader::varray, and blender::WM_main_add_notifier().
Referenced by geometry_color_attribute_duplicate_exec(), and GEOMETRY_OT_color_attribute_duplicate().
|
static |
Definition at line 875 of file geometry_attributes.cc.
References blender::BKE_attribute_remove(), blender::BKE_id_attributes_active_color_name(), C, blender::ed::object::context_object(), blender::Object::data, blender::DEG_id_tag_update(), blender::AttributeOwner::from_id(), geometry_color_attribute_remove_exec(), blender::ID_RECALC_GEOMETRY, NC_GEOM, ND_DATA, blender::OPERATOR_CANCELLED, blender::OPERATOR_FINISHED, blender::wmOperator::reports, and blender::WM_main_add_notifier().
Referenced by geometry_color_attribute_remove_exec(), and GEOMETRY_OT_color_attribute_remove().
|
static |
Definition at line 821 of file geometry_attributes.cc.
References blender::BKE_editmesh_bmesh_get_for_write(), blender::BKE_id_attributes_default_color_set(), blender::bm, blender::BM_data_layer_lookup(), C, blender::ed::object::context_object(), blender::Object::data, blender::DEG_id_tag_update(), blender::BMDataLayerLookup::domain, geometry_color_attribute_set_render_exec(), blender::ID_RECALC_GEOMETRY, blender::bke::mesh::is_color_attribute(), blender::bke::AttributeAccessor::lookup_meta_data(), MAX_NAME, NC_GEOM, ND_DATA, blender::OPERATOR_CANCELLED, blender::OPERATOR_FINISHED, blender::wmOperator::ptr, blender::RNA_string_get(), blender::BMDataLayerLookup::type, and blender::WM_main_add_notifier().
Referenced by geometry_color_attribute_set_render_exec(), and GEOMETRY_OT_color_attribute_render_set().
|
static |
Definition at line 954 of file geometry_attributes.cc.
References blender::BKE_id_attributes_active_color_name(), blender::BKE_id_attributes_color_find(), C, blender::ed::object::context_object(), blender::CTX_data_edit_object(), blender::CTX_wm_operator_poll_msg_set(), blender::data, blender::Object::data, geometry_attributes_poll(), and geometry_color_attributes_duplicate_poll().
Referenced by geometry_color_attributes_duplicate_poll(), and GEOMETRY_OT_color_attribute_duplicate().
|
static |
Definition at line 894 of file geometry_attributes.cc.
References blender::BKE_id_attributes_active_color_name(), blender::BKE_id_attributes_color_find(), C, blender::ed::object::context_object(), blender::data, blender::Object::data, geometry_attributes_poll(), and geometry_color_attributes_remove_poll().
Referenced by geometry_color_attributes_remove_poll(), and GEOMETRY_OT_color_attribute_remove().
| void blender::ed::geometry::GEOMETRY_OT_attribute_add | ( | wmOperatorType * | ot | ) |
Definition at line 456 of file geometry_attributes.cc.
References blender::CD_PROP_FLOAT, blender::wmOperatorType::description, blender::wmOperatorType::exec, blender::wmOperatorType::flag, geometry_attribute_add_exec(), geometry_attribute_add_invoke(), geometry_attribute_domain_itemf(), geometry_attributes_poll(), GEOMETRY_OT_attribute_add(), blender::wmOperatorType::idname, blender::wmOperatorType::invoke, MAX_NAME, blender::wmOperatorType::name, blender::OPTYPE_REGISTER, blender::OPTYPE_UNDO, blender::bke::Point, blender::wmOperatorType::poll, blender::PROP_SKIP_SAVE, blender::RNA_def_enum(), blender::RNA_def_enum_funcs(), blender::RNA_def_property_flag(), blender::RNA_def_string(), blender::rna_enum_attribute_domain_items, blender::rna_enum_attribute_type_items, and blender::wmOperatorType::srna.
Referenced by GEOMETRY_OT_attribute_add(), and operatortypes_geometry().
| void blender::ed::geometry::GEOMETRY_OT_attribute_convert | ( | wmOperatorType * | ot | ) |
Definition at line 1180 of file geometry_attributes.cc.
References blender::CD_PROP_FLOAT, convert_attribute_mode_items, blender::wmOperatorType::description, blender::wmOperatorType::exec, blender::wmOperatorType::flag, Generic, geometry_attribute_convert_exec(), geometry_attribute_convert_invoke(), geometry_attribute_convert_mode_itemf(), geometry_attribute_convert_poll(), geometry_attribute_convert_ui(), geometry_attribute_domain_itemf(), GEOMETRY_OT_attribute_convert(), blender::wmOperatorType::idname, blender::wmOperatorType::invoke, blender::wmOperatorType::name, blender::OPTYPE_REGISTER, blender::OPTYPE_UNDO, blender::bke::Point, blender::wmOperatorType::poll, blender::RNA_def_enum(), blender::RNA_def_enum_funcs(), blender::rna_enum_attribute_domain_items, blender::rna_enum_attribute_type_items, blender::wmOperatorType::srna, and blender::wmOperatorType::ui.
Referenced by GEOMETRY_OT_attribute_convert(), and operatortypes_geometry().
| void blender::ed::geometry::GEOMETRY_OT_attribute_remove | ( | wmOperatorType * | ot | ) |
Definition at line 521 of file geometry_attributes.cc.
References blender::wmOperatorType::description, blender::wmOperatorType::exec, blender::wmOperatorType::flag, geometry_attribute_remove_exec(), geometry_attributes_remove_poll(), GEOMETRY_OT_attribute_remove(), blender::wmOperatorType::idname, blender::wmOperatorType::name, blender::OPTYPE_REGISTER, blender::OPTYPE_UNDO, and blender::wmOperatorType::poll.
Referenced by GEOMETRY_OT_attribute_remove(), and operatortypes_geometry().
| void blender::ed::geometry::GEOMETRY_OT_color_attribute_add | ( | wmOperatorType * | ot | ) |
Definition at line 773 of file geometry_attributes.cc.
References blender::CD_PROP_COLOR, blender::wmOperatorType::description, blender::wmOperatorType::exec, blender::wmOperatorType::flag, FLT_MAX, geometry_attributes_poll(), geometry_color_attribute_add_exec(), geometry_color_attribute_add_invoke(), geometry_color_attribute_add_ui(), GEOMETRY_OT_color_attribute_add(), blender::wmOperatorType::idname, blender::wmOperatorType::invoke, MAX_NAME, blender::wmOperatorType::name, blender::OPTYPE_REGISTER, blender::OPTYPE_UNDO, blender::bke::Point, blender::wmOperatorType::poll, blender::PROP_COLOR, blender::PROP_SKIP_SAVE, blender::RNA_def_enum(), blender::RNA_def_float_color(), blender::RNA_def_property_flag(), blender::RNA_def_property_float_array_default(), blender::RNA_def_property_subtype(), blender::RNA_def_string(), blender::rna_enum_color_attribute_domain_items, blender::rna_enum_color_attribute_type_items, blender::wmOperatorType::srna, and blender::wmOperatorType::ui.
Referenced by GEOMETRY_OT_color_attribute_add(), and operatortypes_geometry().
| void blender::ed::geometry::GEOMETRY_OT_color_attribute_convert | ( | wmOperatorType * | ot | ) |
Definition at line 1148 of file geometry_attributes.cc.
References blender::CD_PROP_COLOR, blender::wmOperatorType::description, blender::wmOperatorType::exec, blender::wmOperatorType::flag, geometry_color_attribute_convert_exec(), geometry_color_attribute_convert_invoke(), geometry_color_attribute_convert_poll(), geometry_color_attribute_convert_ui(), GEOMETRY_OT_color_attribute_convert(), blender::wmOperatorType::idname, blender::wmOperatorType::invoke, blender::wmOperatorType::name, blender::OPTYPE_REGISTER, blender::OPTYPE_UNDO, blender::bke::Point, blender::wmOperatorType::poll, blender::PROP_SKIP_SAVE, blender::RNA_def_enum(), blender::RNA_def_property_flag(), blender::rna_enum_color_attribute_domain_items, blender::rna_enum_color_attribute_type_items, blender::wmOperatorType::srna, and blender::wmOperatorType::ui.
Referenced by GEOMETRY_OT_color_attribute_convert(), and operatortypes_geometry().
| void blender::ed::geometry::GEOMETRY_OT_color_attribute_duplicate | ( | wmOperatorType * | ot | ) |
Definition at line 974 of file geometry_attributes.cc.
References blender::wmOperatorType::description, blender::wmOperatorType::exec, blender::wmOperatorType::flag, geometry_color_attribute_duplicate_exec(), geometry_color_attributes_duplicate_poll(), GEOMETRY_OT_color_attribute_duplicate(), blender::wmOperatorType::idname, blender::wmOperatorType::name, blender::OPTYPE_REGISTER, blender::OPTYPE_UNDO, and blender::wmOperatorType::poll.
Referenced by GEOMETRY_OT_color_attribute_duplicate(), and operatortypes_geometry().
| void blender::ed::geometry::GEOMETRY_OT_color_attribute_remove | ( | wmOperatorType * | ot | ) |
Definition at line 910 of file geometry_attributes.cc.
References blender::wmOperatorType::description, blender::wmOperatorType::exec, blender::wmOperatorType::flag, geometry_color_attribute_remove_exec(), geometry_color_attributes_remove_poll(), GEOMETRY_OT_color_attribute_remove(), blender::wmOperatorType::idname, blender::wmOperatorType::name, blender::OPTYPE_REGISTER, blender::OPTYPE_UNDO, and blender::wmOperatorType::poll.
Referenced by GEOMETRY_OT_color_attribute_remove(), and operatortypes_geometry().
| void blender::ed::geometry::GEOMETRY_OT_color_attribute_render_set | ( | wmOperatorType * | ot | ) |
Definition at line 854 of file geometry_attributes.cc.
References blender::wmOperatorType::description, blender::wmOperatorType::exec, blender::wmOperatorType::flag, geometry_attributes_for_mesh_poll(), geometry_color_attribute_set_render_exec(), GEOMETRY_OT_color_attribute_render_set(), blender::wmOperatorType::idname, MAX_NAME, blender::wmOperatorType::name, blender::OPTYPE_INTERNAL, blender::OPTYPE_REGISTER, blender::wmOperatorType::poll, blender::PROP_SKIP_SAVE, blender::RNA_def_property_flag(), blender::RNA_def_string(), and blender::wmOperatorType::srna.
Referenced by GEOMETRY_OT_color_attribute_render_set(), and operatortypes_geometry().
| void blender::ed::geometry::GEOMETRY_OT_geometry_randomization | ( | wmOperatorType * | ot | ) |
Definition at line 47 of file geometry_randomization.cc.
References blender::wmOperatorType::description, blender::wmOperatorType::exec, blender::wmOperatorType::flag, GEOMETRY_OT_geometry_randomization(), geometry_randomization_exec(), geometry_randomization_invoke(), blender::wmOperatorType::idname, blender::wmOperatorType::invoke, blender::wmOperatorType::name, blender::OPTYPE_REGISTER, blender::OPTYPE_UNDO, blender::RNA_def_boolean(), and blender::wmOperatorType::srna.
Referenced by GEOMETRY_OT_geometry_randomization(), and operatortypes_geometry().
|
static |
Definition at line 34 of file geometry_randomization.cc.
References C, blender::CTX_data_main(), blender::DEG_id_tag_update(), blender::G, geometry_randomization_exec(), blender::ID_RECALC_GEOMETRY, NC_WINDOW, blender::Main::objects, blender::OPERATOR_FINISHED, blender::wmOperator::ptr, blender::RNA_boolean_get(), and blender::WM_event_add_notifier().
Referenced by GEOMETRY_OT_geometry_randomization(), and geometry_randomization_exec().
|
static |
Definition at line 26 of file geometry_randomization.cc.
References C, blender::G, geometry_randomization_invoke(), blender::wmOperator::ptr, blender::RNA_boolean_set(), and blender::WM_operator_props_popup().
Referenced by GEOMETRY_OT_geometry_randomization(), and geometry_randomization_invoke().
|
static |
Definition at line 334 of file node_group_operator.cc.
References blender::ed::asset::asset_local_id_ensure_imported(), blender::BKE_libblock_find_session_uid(), blender::BKE_reportf(), BLI_assert_unreachable_static_t, C, blender::CTX_data_main(), blender::wmOperatorType::custom_data, blender::ed::asset::find_asset_from_weak_ref(), get_asset_or_local_node_group(), blender::ID_NT, blender::RPT_ERROR, and T.
Referenced by get_asset_or_local_node_group(), and get_node_group().
|
static |
Avoid adding a separate root catalog when the assets have already been added to one of the builtin menus. The need to define the builtin menu labels here is non-ideal. We don't have any UI introspection that can do this though.
Definition at line 1920 of file node_group_operator.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_new(), get_builtin_menus(), blender::OB_CURVES, blender::OB_GREASE_PENCIL, blender::OB_MESH, blender::OB_MODE_EDIT, blender::OB_MODE_OBJECT, blender::OB_MODE_PAINT_GREASE_PENCIL, blender::OB_MODE_SCULPT, blender::OB_MODE_SCULPT_GREASE_PENCIL, blender::OB_MODE_VERTEX_PAINT, blender::OB_MODE_WEIGHT_PAINT, and blender::OB_POINTCLOUD.
Referenced by catalog_assets_draw(), get_builtin_menus(), and ui_template_node_operator_asset_root_items().
|
static |
Definition at line 1144 of file node_group_operator.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), blender::Array< T, InlineBufferCapacity, Allocator >::Array(), blender::Vector< T, InlineBufferCapacity, Allocator >::as_span(), blender::IDProperty::data, get_input_enum_items(), blender::IDPropertyData::group, blender::IDP_GetPropertyFromGroup(), blender::IDP_GROUP, blender::IDP_group_lookup_int(), blender::IDP_group_lookup_string(), blender::Vector< T, InlineBufferCapacity, Allocator >::is_empty(), blender::IDProperty::name, blender::rna_enum_dummy_NULL_items, and blender::IDProperty::type.
Referenced by get_input_enum_items(), and get_input_socket_struct_rna().
|
static |
Definition at line 1214 of file node_group_operator.cc.
References blender::BLI_assert(), blender::StringRefNull::c_str(), blender::ed::geometry::OperatorTypeData::enum_item_storage, FLT_MAX, blender::ed::geometry::OperatorTypeData::generated_structs, blender::nodes::geometry_nodes_input_type_items_value_or_attribute_or_layer, get_input_enum_items(), get_input_socket_struct_rna(), blender::IDP_group_lookup_bool(), blender::IDP_group_lookup_float(), blender::IDP_group_lookup_float_array(), blender::IDP_group_lookup_int(), blender::IDP_group_lookup_string(), INT_MAX, blender::blender::StringRefBase::is_empty(), make_common_attribute_name_prop(), make_common_type_prop(), make_common_value_and_attribute_props(), make_common_value_props(), blender::IDProperty::name, blender::PROP_COLOR, blender::PROP_NONE, blender::RNA_blender_rna_get(), blender::RNA_def_boolean(), blender::RNA_def_enum(), blender::RNA_def_float(), blender::RNA_def_float_array(), blender::RNA_def_float_color(), blender::RNA_def_float_rotation(), blender::RNA_def_int(), blender::RNA_def_property_subtype(), blender::RNA_def_string(), blender::RNA_def_struct_ptr(), blender::RNA_def_struct_ui_text(), blender::RNA_PropertyGroup, blender::RNA_struct_in_public_namespace(), blender::SOCK_BOOLEAN, blender::SOCK_COLLECTION, blender::SOCK_FLOAT, blender::SOCK_FONT, blender::SOCK_IMAGE, blender::SOCK_INT, blender::SOCK_MATERIAL, blender::SOCK_MENU, blender::SOCK_OBJECT, blender::SOCK_RGBA, blender::SOCK_ROTATION, blender::SOCK_SOUND, blender::SOCK_STRING, blender::SOCK_VECTOR, and blender::nodes::Value.
Referenced by create_inputs_srna(), and get_input_socket_struct_rna().
|
static |
Definition at line 372 of file node_group_operator.cc.
References blender::BKE_report(), C, get_asset_or_local_node_group(), get_node_group(), blender::NTREE_GEOMETRY, blender::RPT_ERROR, and blender::bNodeTree::type.
Referenced by get_node_group(), run_node_group_exec(), run_node_group_invoke(), and run_node_group_ui().
|
static |
Definition at line 1610 of file node_group_operator.cc.
References blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::asset_system::all_library_reference(), blender::BKE_asset_metadata_idprop_find(), C, blender::ed::geometry::ErrorsForType::duplicate_count, blender::GeometryNodeAssetTraits::flag, blender::ed::geometry::OperatorTypeData::from_asset(), blender::ed::geometry::OperatorTypeData::from_group(), blender::GEO_NODE_ASSET_TOOL, blender::bNodeTree::geometry_node_asset_traits, get_node_tools_type_data(), blender::bNodeTree::id, ID_IS_ASSET, blender::ID_NT, blender::IDP_INT, IDP_int_get, blender::ed::asset::list::iterate(), blender::ed::asset::list::library_get_once_available(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_or_add_default_as(), blender::Main::nodetrees, blender::NTREE_GEOMETRY, blender::ed::asset::list::storage_fetch(), and blender::IDProperty::type.
Referenced by get_node_tools_type_data(), and register_node_group_operators().
|
static |
Geometry nodes currently requires working on "evaluated" data-blocks (rather than "original" data-blocks that are part of a Main data-base). This could change in the future, but for now, we need to create evaluated copies of geometry before passing it to geometry nodes. Implicit sharing lets us avoid copying attribute data though.
Definition at line 543 of file node_group_operator.cc.
References blender::nodes::GeoNodesOperatorData::active_edge_index, blender::nodes::GeoNodesOperatorData::active_face_index, blender::nodes::GeoNodesOperatorData::active_layer_index, blender::nodes::GeoNodesOperatorData::active_point_index, add_shape_keys_as_attributes(), blender::Vector< T, InlineBufferCapacity, Allocator >::append_as(), blender::BKE_curves_copy_for_eval(), blender::BKE_editmesh_bmesh_get_for_write(), blender::BKE_grease_pencil_copy_for_eval(), blender::BKE_mesh_copy_for_eval(), blender::BKE_pointcloud_copy_for_eval(), blender::bm, blender::BM_mesh_active_edge_index_get(), blender::BM_mesh_active_face_index_get(), blender::BM_mesh_active_vert_index_get(), blender::data, blender::DEG_get_bmain(), blender::DEG_get_ctime(), blender::EDBM_mesh_free_data(), blender::EDBM_mesh_load_ex(), blender::bke::GeometrySet::from_curves(), blender::bke::GeometrySet::from_grease_pencil(), blender::bke::GeometrySet::from_mesh(), blender::bke::GeometrySet::from_pointcloud(), get_original_geometry_eval_copy(), blender::OB_CURVES, blender::OB_GREASE_PENCIL, blender::OB_MESH, blender::OB_POINTCLOUD, blender::bke::object::pbvh_get(), and blender::bke::pbvh::update_normals().
Referenced by get_original_geometry_eval_copy(), and run_node_group_exec().
|
static |
Definition at line 122 of file node_group_operator.cc.
References blender::data, and get_registration_data().
Referenced by catalog_assets_draw(), catalog_assets_draw_unassigned(), get_registration_data(), register_node_group_operators(), show_error_reports(), ui_template_node_operator_asset_menu_items(), ui_template_node_operator_asset_root_items(), and ui_template_node_operator_registration_errors().
|
static |
The socket value log is stored statically so it can be used in the node editor. A fancier storage system shouldn't be necessary, since the goal is just to be able to debug intermediate values when building a tool.
Definition at line 396 of file node_group_operator.cc.
References get_static_eval_log(), and log.
Referenced by get_static_eval_log(), node_group_operator_static_eval_log(), run_node_group_exec(), and run_node_group_ui().
|
static |
Definition at line 439 of file node_group_operator.cc.
References blender::CD_MDEFORMVERT, blender::CustomData_get_layer_index(), and get_vertex_group_sharing_info().
Referenced by get_vertex_group_sharing_info(), and blender::ed::geometry::MeshState::MeshState().
|
static |
Definition at line 1182 of file node_group_operator.cc.
References blender::StringRefNull::c_str(), blender::IDP_group_lookup_string(), make_common_attribute_name_prop(), and blender::RNA_def_string().
Referenced by get_input_socket_struct_rna(), make_common_attribute_name_prop(), and make_common_value_and_attribute_props().
|
static |
Definition at line 1174 of file node_group_operator.cc.
References make_common_type_prop(), blender::PROP_ANIMATABLE, blender::RNA_def_enum(), and blender::RNA_def_property_clear_flag().
Referenced by get_input_socket_struct_rna(), make_common_type_prop(), make_common_value_and_attribute_props(), and make_common_value_props().
|
static |
Definition at line 1197 of file node_group_operator.cc.
References blender::nodes::geometry_nodes_input_type_items_value_or_attribute, make_common_attribute_name_prop(), make_common_type_prop(), make_common_value_and_attribute_props(), and blender::nodes::Value.
Referenced by get_input_socket_struct_rna(), and make_common_value_and_attribute_props().
|
static |
Definition at line 1208 of file node_group_operator.cc.
References blender::nodes::geometry_nodes_input_type_items_value, make_common_type_prop(), make_common_value_props(), and blender::nodes::Value.
Referenced by get_input_socket_struct_rna(), and make_common_value_props().
|
static |
Definition at line 2018 of file node_group_operator.cc.
References C, menu_operators_poll(), and node.
Referenced by catalog_assets_draw(), menu_operators_poll(), ui_template_node_operator_asset_menu_items(), and ui_template_node_operator_asset_root_items().
| MenuType blender::ed::geometry::node_group_operator_assets_menu | ( | ) |
Definition at line 2114 of file node_group_operator.cc.
References asset_menu_poll(), blender::ed::asset::list::asset_reading_region_listen_fn(), catalog_assets_draw(), blender::ContextDependent, blender::MenuType::draw, blender::MenuType::flag, blender::MenuType::idname, blender::MenuType::listener, node_group_operator_assets_menu(), blender::MenuType::poll, and STRNCPY_UTF8.
Referenced by blender::ED_spacetype_view3d(), and node_group_operator_assets_menu().
| MenuType blender::ed::geometry::node_group_operator_assets_menu_unassigned | ( | ) |
Definition at line 2155 of file node_group_operator.cc.
References asset_menu_poll(), blender::ed::asset::list::asset_reading_region_listen_fn(), catalog_assets_draw_unassigned(), blender::ContextDependent, blender::MenuType::description, blender::MenuType::draw, blender::MenuType::flag, blender::MenuType::idname, blender::MenuType::label, blender::MenuType::listener, N_, node_group_operator_assets_menu_unassigned(), blender::MenuType::poll, and STRNCPY_UTF8.
Referenced by blender::ED_spacetype_view3d(), and node_group_operator_assets_menu_unassigned().
| const GeoOperatorLog & blender::ed::geometry::node_group_operator_static_eval_log | ( | ) |
Definition at line 402 of file node_group_operator.cc.
References get_static_eval_log(), and node_group_operator_static_eval_log().
Referenced by blender::nodes::eval_log::get_geometry_nodes_root_log(), and node_group_operator_static_eval_log().
|
static |
Definition at line 861 of file node_group_operator.cc.
References blender::BKE_id_is_editable(), blender::data, ELEM, blender::OB_CURVES, blender::OB_GREASE_PENCIL, blender::OB_MESH, blender::OB_POINTCLOUD, and object_has_editable_data().
Referenced by gather_supported_objects(), and object_has_editable_data().
|
static |
Definition at line 204 of file node_group_operator.cc.
References blender::BKE_reports_free(), blender::BKE_reports_init(), BLI_SCOPED_DEFER, blender::StringRefNull::c_str(), blender::ed::geometry::ErrorsForType::idname_validation_errors, blender::ReportList::list, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_or_add_default_as(), blender::Report::message, OP_MAX_TYPENAME, operator_idname_get(), blender::RPT_PRINT_HANDLED_BY_OWNER, blender::RPT_STORE, blender::WM_operator_bl_idname(), and blender::WM_operator_idname_ok_or_report().
Referenced by blender::ed::geometry::OperatorTypeData::from_asset(), blender::ed::geometry::OperatorTypeData::from_group(), and operator_idname_get().
| void blender::ed::geometry::operatortypes_geometry | ( | ) |
Definition at line 19 of file geometry_ops.cc.
References GEOMETRY_OT_attribute_add(), GEOMETRY_OT_attribute_convert(), GEOMETRY_OT_attribute_remove(), GEOMETRY_OT_color_attribute_add(), GEOMETRY_OT_color_attribute_convert(), GEOMETRY_OT_color_attribute_duplicate(), GEOMETRY_OT_color_attribute_remove(), GEOMETRY_OT_color_attribute_render_set(), GEOMETRY_OT_geometry_randomization(), operatortypes_geometry(), and blender::WM_operatortype_append().
Referenced by blender::ED_spacetypes_init(), and operatortypes_geometry().
| void blender::ed::geometry::register_node_group_operators | ( | const bContext & | C | ) |
Re-register all operator types for node tool assets and local node groups. This process unregisters old operators.
Definition at line 1725 of file node_group_operator.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_new(), blender::asset_system::all_library_reference(), blender::BLI_assert(), C, blender::asset_system::AssetLibrary::catalog_service(), blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains_as(), blender::Core, blender::CTX_data_main(), blender::CTX_wm_manager(), blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::extract_vector(), blender::ed::asset::find_asset_from_weak_ref(), blender::asset_system::AssetCatalogService::find_catalog(), get_node_tools_type_data(), get_registration_data(), blender::ed::geometry::ErrorsForType::is_builtin_operator, blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::is_empty(), blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::is_empty(), blender::ed::asset::list::library_get_once_available(), blender::ed::geometry::RegistrationData::local_types, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_or_add_default(), blender::ed::geometry::RegistrationData::menu_path_tree_roots, blender::OPTYPE_NODE_TOOL, blender::asset_system::AssetCatalog::path, PRF_scope, register_node_group_operators(), register_node_tool(), blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::remove_if(), blender::RNA_blender_rna_get(), blender::RNA_struct_free(), blender::RNA_struct_py_type_set(), show_error_reports(), blender::asset_system::AssetCatalogPath::str(), tree_add_type(), blender::ed::geometry::RegistrationData::unassigned_types, blender::WM_operator_handlers_clear(), blender::WM_operator_stack_clear(), blender::WM_operatortype_append_ptr(), blender::WM_operatortype_find(), blender::WM_operatortype_remove_ptr(), and blender::WM_operatortypes_registered_get().
Referenced by register_node_group_operators(), and blender::wm_event_do_notifiers().
|
static |
Definition at line 1432 of file node_group_operator.cc.
References blender::ed::geometry::OperatorTypeData::asset_meta_data_properties, create_inputs_srna(), create_panels_srna(), blender::wmOperatorType::custom_data, blender::ed::geometry::OperatorTypeData::description, blender::wmOperatorType::description, blender::wmOperatorType::exec, blender::ed::geometry::OperatorTypeData::flag, blender::wmOperatorType::flag, FLT_MAX, blender::ed::geometry::OperatorTypeData::generated_structs, blender::GEO_NODE_ASSET_WAIT_FOR_CURSOR, blender::ed::geometry::OperatorTypeData::idname, blender::wmOperatorType::idname, INT_MAX, blender::wmOperatorType::invoke, blender::ed::geometry::OperatorTypeData::name, blender::wmOperatorType::name, blender::nullptr, blender::OPTYPE_DEPENDS_ON_CURSOR, blender::OPTYPE_NODE_TOOL, blender::OPTYPE_REGISTER, blender::OPTYPE_UNDO, blender::PROP_HIDDEN, blender::wmOperatorType::pyop_poll, register_node_tool(), blender::RNA_def_boolean(), blender::RNA_def_float_array(), blender::RNA_def_int_array(), blender::RNA_def_pointer_runtime(), blender::RNA_def_property_flag(), run_node_group_exec(), run_node_group_invoke(), run_node_group_poll(), run_node_group_ui(), run_node_ui_poll(), blender::wmOperatorType::srna, blender::wmOperatorType::ui, and blender::wmOperatorType::ui_poll.
Referenced by register_node_group_operators(), and register_node_tool().
| void blender::ed::geometry::register_rna_properties_for_attribute_types | ( | StructRNA & | srna | ) |
Definition at line 90 of file geometry_attributes.cc.
References FLT_MAX, INT_MAX, register_rna_properties_for_attribute_types(), blender::RNA_def_boolean(), blender::RNA_def_float(), blender::RNA_def_float_array(), blender::RNA_def_float_color(), blender::RNA_def_int(), and blender::RNA_def_int_array().
Referenced by blender::ed::curves::CURVES_OT_attribute_set(), blender::MESH_OT_attribute_set(), blender::ed::pointcloud::POINTCLOUD_OT_attribute_set(), and register_rna_properties_for_attribute_types().
Definition at line 529 of file node_group_operator.cc.
References blender::Key::block, blender::bke::MutableAttributeAccessor::remove(), remove_shape_key_attributes(), and shape_key_attribute_name().
Referenced by remove_shape_key_attributes(), and store_result_geometry().
| GPointer blender::ed::geometry::rna_property_for_attribute_type_retrieve_value | ( | PointerRNA & | ptr, |
| const bke::AttrType | type, | ||
| void * | buffer ) |
Definition at line 133 of file geometry_attributes.cc.
References blender::bke::attribute_type_to_cpp_type(), BLI_assert_unreachable, blender::bke::Bool, blender::StringRefNull::c_str(), blender::bke::ColorByte, blender::bke::ColorFloat, blender::color::encode(), blender::bke::Float, blender::bke::Float2, blender::bke::Float3, blender::bke::Float4, blender::GPointer::GPointer(), blender::bke::Int16_2D, blender::bke::Int32, blender::bke::Int32_2D, blender::bke::Int8, blender::RNA_boolean_get(), blender::RNA_float_get(), blender::RNA_float_get_array(), blender::RNA_int_get(), blender::RNA_int_get_array(), rna_property_for_attribute_type_retrieve_value(), and rna_property_name_for_type().
Referenced by blender::ed::mesh::set_attribute::mesh_set_attribute_exec(), rna_property_for_attribute_type_retrieve_value(), blender::ed::curves::set_attribute_exec(), and blender::ed::pointcloud::set_attribute_exec().
| void blender::ed::geometry::rna_property_for_attribute_type_set_value | ( | PointerRNA & | ptr, |
| PropertyRNA & | prop, | ||
| const GPointer | value ) |
Definition at line 185 of file geometry_attributes.cc.
References BLI_assert_unreachable, blender::bke::Bool, blender::bke::ColorByte, blender::bke::ColorFloat, blender::bke::cpp_type_to_attribute_type(), blender::color::decode(), blender::bke::Float, blender::bke::Float2, blender::bke::Float3, blender::bke::Float4, blender::GPointer::get(), blender::bke::Int16_2D, blender::bke::Int32, blender::bke::Int32_2D, blender::bke::Int8, blender::RNA_property_boolean_set(), blender::RNA_property_float_set(), blender::RNA_property_float_set_array(), rna_property_for_attribute_type_set_value(), blender::RNA_property_int_set(), blender::RNA_property_int_set_array(), and blender::GPointer::type().
Referenced by blender::ed::mesh::set_attribute::mesh_set_attribute_invoke(), rna_property_for_attribute_type_set_value(), blender::ed::curves::set_attribute_invoke(), and blender::ed::pointcloud::set_attribute_invoke().
| PropertyRNA * blender::ed::geometry::rna_property_for_type | ( | PointerRNA & | ptr, |
| const bke::AttrType | type ) |
Definition at line 85 of file geometry_attributes.cc.
References rna_property_for_type(), rna_property_name_for_type(), and blender::RNA_struct_find_property().
Referenced by blender::ed::mesh::set_attribute::mesh_set_attribute_invoke(), rna_property_for_type(), blender::ed::curves::set_attribute_invoke(), and blender::ed::pointcloud::set_attribute_invoke().
| StringRefNull blender::ed::geometry::rna_property_name_for_type | ( | const bke::AttrType | type | ) |
Definition at line 57 of file geometry_attributes.cc.
References BLI_assert_unreachable, blender::bke::Bool, blender::bke::ColorByte, blender::bke::ColorFloat, blender::bke::Float, blender::bke::Float2, blender::bke::Float3, blender::bke::Float4, blender::bke::Int16_2D, blender::bke::Int32, blender::bke::Int32_2D, blender::bke::Int8, and rna_property_name_for_type().
Referenced by blender::ed::mesh::set_attribute::mesh_set_attribute_ui(), rna_property_for_attribute_type_retrieve_value(), rna_property_for_type(), rna_property_name_for_type(), blender::ed::curves::set_attribute_ui(), and blender::ed::pointcloud::set_attribute_ui().
|
static |
Definition at line 957 of file node_group_operator.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::nodes::eval_log::NodeTreeLog::all_warnings, blender::MatBase< T, NumCol, NumRow, Alignment >::base_ptr(), blender::BKE_report(), build_extra_depsgraph(), C, blender::CTX_data_active_object(), blender::CTX_data_ensure_evaluated_depsgraph(), blender::CTX_data_main(), blender::CTX_data_scene(), blender::CTX_wm_region_view3d(), blender::nodes::GeoNodesOperatorData::cursor_position, blender::nodes::GeoNodesOperatorData::cursor_rotation, blender::DEG_get_evaluated(), blender::DEG_id_is_fully_evaluated(), blender::nodes::GeoNodesOperatorData::depsgraphs, blender::nodes::ensure_geometry_nodes_lazy_function_graph(), blender::nodes::eval_log::NodeTreeLog::ensure_node_warnings(), blender::nodes::GeoNodesCallData::eval_log, blender::nodes::execute_geometry_nodes_on_geometry(), blender::nodes::GeoNodesOperatorDepsgraphs::extra, find_verbose_log_contexts(), gather_input_ids(), gather_node_group_ids(), gather_supported_objects(), get_node_group(), get_original_geometry_eval_copy(), get_static_eval_log(), blender::ComputeContext::hash(), blender::bNodeTree::id, blender::nodes::Info, blender::nodes::GeoNodesOperatorData::input_ids, blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::is_empty(), blender::nodes::NodeWarning::message, blender::nodes::GeoNodesOperatorData::mode, blender::Object::mode, blender::nodes::GeoNodesOperatorData::mouse_position, blender::ID::name, NC_GEOM, ND_DATA, blender::nullptr, blender::OPERATOR_CANCELLED, blender::nodes::GeoNodesCallData::operator_data, blender::OPERATOR_FINISHED, blender::wmOperator::ptr, blender::nodes::GeoNodesOperatorData::region_size, blender::wmOperator::reports, blender::RNA_boolean_get(), blender::RNA_float_get_array(), blender::RNA_int_get_array(), blender::RPT_ERROR, blender::RPT_INFO, blender::RPT_WARNING, run_node_group_exec(), blender::nodes::GeoNodesOperatorData::scene_orig, blender::nodes::GeoNodesOperatorData::self_object_orig, store_result_geometry(), STREQ, blender::nodes::NodeWarning::type, blender::wmOperator::type, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::values(), blender::nodes::GeoNodesCallData::verbose_log_contexts, blender::nodes::GeoNodesOperatorData::viewport_is_perspective, blender::nodes::GeoNodesOperatorData::viewport_viewmat, blender::nodes::GeoNodesOperatorData::viewport_winmat, blender::math::QuaternionBase< T >::w, and blender::WM_event_add_notifier().
Referenced by register_node_tool(), run_node_group_exec(), and run_node_group_invoke().
|
static |
Definition at line 1078 of file node_group_operator.cc.
References C, get_node_group(), blender::OPERATOR_CANCELLED, blender::wmOperator::reports, run_node_group_exec(), run_node_group_invoke(), store_input_node_values_rna_props(), and blender::wmOperator::type.
Referenced by register_node_tool(), and run_node_group_invoke().
|
static |
Definition at line 1127 of file node_group_operator.cc.
References asset_flag_for_context(), C, blender::CTX_data_active_object(), blender::wmOperatorType::custom_data, and run_node_group_poll().
Referenced by register_node_tool(), and run_node_group_poll().
|
static |
Definition at line 1090 of file node_group_operator.cc.
References C, blender::CTX_data_main(), blender::nodes::draw_geometry_nodes_operator_redo_ui(), get_node_group(), get_static_eval_log(), blender::ComputeContext::hash(), blender::wmOperator::layout, blender::RNA_main_pointer_create(), run_node_group_ui(), blender::wmOperator::type, blender::ui::Layout::use_property_decorate_set(), and blender::ui::Layout::use_property_split_set().
Referenced by register_node_tool(), and run_node_group_ui().
|
static |
Definition at line 1113 of file node_group_operator.cc.
References blender::PROP_HIDDEN, blender::result, blender::RNA_property_flag(), RNA_STRUCT_BEGIN, RNA_STRUCT_END, and run_node_ui_poll().
Referenced by register_node_tool(), and run_node_ui_poll().
|
static |
Definition at line 346 of file geometry_attributes.cc.
References blender::BKE_id_attributes_active_color_set(), blender::BKE_id_attributes_color_find(), blender::BKE_id_attributes_default_color_set(), blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), blender::bke::mesh::is_color_attribute(), blender::bke::mesh::is_uv_map(), and set_active_default_status_on_add().
Referenced by geometry_attribute_add_exec(), and set_active_default_status_on_add().
|
static |
Definition at line 484 of file node_group_operator.cc.
References blender::KeyBlock::name, and shape_key_attribute_name().
Referenced by add_shape_keys_as_attributes(), remove_shape_key_attributes(), shape_key_attribute_name(), and store_attributes_to_shape_keys().
|
static |
Definition at line 1674 of file node_group_operator.cc.
References blender::BKE_reportf(), C, blender::CTX_wm_manager(), blender::CTX_wm_reports(), blender::ed::geometry::RegistrationData::errors_by_idname, get_registration_data(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::items(), blender::RPT_ERROR, show_error_reports(), and blender::WM_report_banner_show().
Referenced by register_node_group_operators(), and show_error_reports().
|
static |
Definition at line 779 of file node_group_operator.cc.
References blender::ID_GR, blender::ID_IM, blender::ID_MA, blender::ID_MSK, blender::ID_OB, blender::ID_SCE, blender::ID_SO, blender::ID_TE, blender::ID_TXT, blender::ID_VF, blender::SOCK_BOOLEAN, blender::SOCK_BUNDLE, blender::SOCK_CLOSURE, blender::SOCK_COLLECTION, blender::SOCK_CUSTOM, blender::SOCK_FLOAT, blender::SOCK_FONT, blender::SOCK_GEOMETRY, blender::SOCK_IMAGE, blender::SOCK_INT, blender::SOCK_INT_VECTOR, blender::SOCK_MASK, blender::SOCK_MATERIAL, blender::SOCK_MATRIX, blender::SOCK_MENU, blender::SOCK_OBJECT, blender::SOCK_RGBA, blender::SOCK_ROTATION, blender::SOCK_SCENE, blender::SOCK_SHADER, blender::SOCK_SOUND, blender::SOCK_STRING, blender::SOCK_TEXT_ID, blender::SOCK_TEXTURE, blender::SOCK_VECTOR, and socket_type_to_id_type().
Referenced by gather_input_ids(), and socket_type_to_id_type().
Definition at line 506 of file node_group_operator.cc.
References blender::Key::block, blender::array_utils::copy(), blender::KeyBlock::data, blender::bke::AttributeAccessor::lookup(), blender::VArrayCommon< T >::materialize(), blender::MEM_new_array_uninitialized(), blender::MutableSpan< T >::MutableSpan(), blender::bke::Point, blender::Key::refkey, shape_key_attribute_name(), blender::Span< T >::size(), blender::VArrayCommon< T >::size(), store_attributes_to_shape_keys(), and blender::KeyBlock::totelem.
Referenced by store_attributes_to_shape_keys(), and store_result_geometry().
|
static |
Input node values are stored as operator properties in order to support redoing from the redo panel for a few reasons:
Definition at line 925 of file node_group_operator.cc.
References blender::MatBase< T, NumCol, NumRow, Alignment >::base_ptr(), blender::BLI_rcti_size_x(), blender::BLI_rcti_size_y(), C, blender::CTX_data_scene(), blender::CTX_wm_region(), blender::CTX_wm_region_view3d(), blender::Scene::cursor, blender::MatBase< float, 4, 4 >::identity(), blender::RegionView3D::is_persp, blender::View3DCursor::location, blender::wmEvent::mval, blender::wmOperator::ptr, blender::RNA_boolean_set(), blender::RNA_float_set_array(), blender::RNA_int_set_array(), store_input_node_values_rna_props(), blender::RegionView3D::viewmat, blender::math::QuaternionBase< T >::w, blender::RegionView3D::winmat, and blender::ARegion::winrct.
Referenced by run_node_group_invoke(), and store_input_node_values_rna_props().
|
static |
Definition at line 606 of file node_group_operator.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), blender::ed::greasepencil::apply_eval_grease_pencil_data(), blender::Vector< T, InlineBufferCapacity, Allocator >::as_span(), blender::PointCloud::attribute_storage, blender::BKE_editmesh_bmesh_get_for_write(), blender::BKE_editmesh_looptris_and_normals_calc(), blender::BKE_id_free(), blender::BKE_mesh_new_nomain(), blender::BKE_mesh_nomain_to_mesh(), blender::BKE_object_material_from_eval_data(), blender::BKE_pointcloud_nomain_to_pointcloud(), C, blender::data, blender::DEG_get_ctime(), blender::DEG_id_tag_update(), blender::EDBM_mesh_make_from_mesh(), blender::ed::greasepencil::ensure_active_keyframe(), blender::bke::greasepencil::ensure_non_empty_layer_names(), blender::IndexMask::from_indices(), blender::Mesh::id, blender::PointCloud::id, blender::ID_RECALC_GEOMETRY, layer, NA_EDITED, NC_GPENCIL, blender::OB_CURVES, blender::OB_GREASE_PENCIL, blender::OB_MESH, blender::OB_MODE_EDIT, blender::OB_MODE_SCULPT, blender::OB_POINTCLOUD, remove_shape_key_attributes(), blender::ToolSettings::selectmode, store_attributes_to_shape_keys(), blender::ed::sculpt_paint::store_mesh_from_eval(), store_result_geometry(), blender::Scene::toolsettings, blender::PointCloud::totpoint, and blender::WM_event_add_notifier().
Referenced by run_node_group_exec(), and store_result_geometry().
|
static |
Definition at line 1586 of file node_group_operator.cc.
References blender::BLI_assert(), blender::ed::geometry::RegistrationData::TypeTreeItem::children, ensure_child(), blender::blender::StringRefBase::find_first_of(), blender::blender::StringRefBase::is_empty(), blender::blender::StringRefBase::not_found, blender::blender::StringRefBase::substr(), tree_add_type(), and blender::ed::geometry::RegistrationData::TypeTreeItem::types.
Referenced by register_node_group_operators(), and tree_add_type().
| void blender::ed::geometry::ui_template_node_operator_asset_menu_items | ( | ui::Layout & | layout, |
| const bContext & | C, | ||
| const StringRef | path ) |
Definition at line 2170 of file node_group_operator.cc.
References C, blender::ui::Layout::column(), blender::ui::Layout::context_string_set(), blender::data, find_tree_node(), get_registration_data(), blender::ui::Layout::menu_contents(), menu_operators_poll(), node, and ui_template_node_operator_asset_menu_items().
Referenced by ui_template_node_operator_asset_menu_items().
| void blender::ed::geometry::ui_template_node_operator_asset_root_items | ( | ui::Layout & | layout, |
| const bContext & | C ) |
Definition at line 2187 of file node_group_operator.cc.
References C, blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains_as(), blender::ui::Layout::context_string_set(), blender::CTX_data_active_object(), blender::data, get_builtin_menus(), get_registration_data(), IFACE_, blender::ui::Layout::menu(), menu_operators_poll(), blender::Object::mode, blender::Object::type, and ui_template_node_operator_asset_root_items().
Referenced by ui_template_node_operator_asset_root_items().
| void blender::ed::geometry::ui_template_node_operator_registration_errors | ( | ui::Layout & | layout, |
| const StringRefNull | idname_py ) |
Definition at line 1526 of file node_group_operator.cc.
References blender::ui::Layout::column(), blender::ed::geometry::ErrorsForType::duplicate_count, blender::ed::geometry::RegistrationData::errors_by_idname, get_registration_data(), blender::ed::geometry::ErrorsForType::idname_validation_errors, blender::ed::geometry::ErrorsForType::is_builtin_operator, blender::ui::Layout::label(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_ptr(), TIP_, and ui_template_node_operator_registration_errors().
Referenced by ui_template_node_operator_registration_errors().
|
static |
Definition at line 1036 of file geometry_attributes.cc.
Referenced by geometry_attribute_convert_mode_itemf(), and GEOMETRY_OT_attribute_convert().