|
Blender V5.0
|
Classes | |
| class | MeshState |
| struct | GeoOperatorLog |
Enumerations | |
| enum class | ConvertAttributeMode { Generic = 0 , VertexGroup = 1 } |
Variables | |
| static EnumPropertyItem | convert_attribute_mode_items [] |
|
strong |
| Enumerator | |
|---|---|
| Generic | |
| VertexGroup | |
Definition at line 499 of file geometry_attributes.cc.
Support shape keys by propagating them through geometry nodes as attributes.
Definition at line 232 of file node_group_operator.cc.
References blender::bke::MutableAttributeAccessor::add(), Key::block, blender::VArray< T >::from_span(), LISTBASE_FOREACH, blender::bke::Point, Key::refkey, and shape_key_attribute_name().
Referenced by get_original_geometry_eval_copy().
|
static |
Definition at line 1108 of file node_group_operator.cc.
References asset_flag_for_context(), Object::mode, and Object::type.
|
static |
Definition at line 1046 of file node_group_operator.cc.
References BLI_assert_unreachable, GEO_NODE_ASSET_CURVE, GEO_NODE_ASSET_EDIT, GEO_NODE_ASSET_GREASE_PENCIL, GEO_NODE_ASSET_MESH, GEO_NODE_ASSET_OBJECT, GEO_NODE_ASSET_PAINT, GEO_NODE_ASSET_POINTCLOUD, GEO_NODE_ASSET_SCULPT, GEO_NODE_ASSET_TOOL, OB_CURVES, OB_GREASE_PENCIL, OB_MESH, OB_MODE_EDIT, OB_MODE_OBJECT, OB_MODE_PAINT_GREASE_PENCIL, OB_MODE_SCULPT, OB_MODE_SCULPT_CURVES, OB_MODE_SCULPT_GREASE_PENCIL, and OB_POINTCLOUD.
Referenced by asset_flag_for_context(), build_catalog_tree(), catalog_assets_draw_unassigned(), and unassigned_local_poll().
Definition at line 1041 of file node_group_operator.cc.
References C, and CTX_wm_view3d().
Referenced by node_group_operator_assets_menu(), and node_group_operator_assets_menu_unassigned().
Definition at line 207 of file geometry_attributes.cc.
References ATTR_DOMAIN_MASK_ALL, BKE_attribute_search(), BKE_attributes_active_name_get(), C, CD_MASK_PROP_ALL, CD_PROP_FLOAT4X4, CD_PROP_QUATERNION, CD_PROP_STRING, CTX_wm_operator_poll_msg_set(), ELEM, blender::bke::Float4x4, AttributeOwner::from_id(), AttributeOwner::get_accessor(), blender::bke::AttributeAccessor::lookup_meta_data(), Mesh, name, blender::bke::Quaternion, blender::bke::String, AttributeOwner::type(), and CustomDataLayer::type.
Referenced by blender::ed::curves::active_attribute_poll(), blender::ed::pointcloud::active_attribute_poll(), and blender::ed::mesh::mesh_active_attribute_poll().
|
static |
Definition at line 1215 of file node_group_operator.cc.
References blender::asset_system::all_library_reference(), blender::asset_system::all_library_reload_catalogs_if_dirty(), asset_flag_for_context(), BKE_asset_metadata_idprop_find(), blender::ed::asset::build_filtered_all_catalog_tree(), C, FILTER_ID_NT, flag, blender::ed::asset::AssetFilterSettings::id_types, IDP_int_get, and NTREE_GEOMETRY.
Referenced by ui_template_node_operator_asset_root_items().
|
static |
Definition at line 586 of file node_group_operator.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::begin(), DEG_evaluate_on_refresh(), DEG_get_bmain(), DEG_get_input_scene(), DEG_get_input_view_layer(), DEG_get_mode(), DEG_graph_build_from_ids(), DEG_graph_new(), depsgraph, and blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::end().
Referenced by run_node_group_exec().
Definition at line 1340 of file node_group_operator.cc.
References blender::asset_system::all_library_reference(), BLI_assert, C, blender::asset_system::AssetCatalogTreeItem::catalog_path(), blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains_as(), CTX_data_active_object(), CTX_data_string_get(), blender::ed::asset::draw_menu_for_catalog(), blender::asset_system::AssetCatalogTreeItem::foreach_child(), get_builtin_menus(), get_static_item_tree(), IFACE_, blender::wm::InvokeRegionWin, Menu::layout, blender::ed::asset::list::library_get_once_available(), Object::mode, uiLayout::op(), blender::ed::asset::operator_asset_reference_props_set(), ot, uiLayout::separator(), blender::asset_system::AssetCatalogPath::str(), tree, Object::type, UI_ITEM_NONE, and WM_operatortype_find().
Referenced by node_group_operator_assets_menu().
|
static |
Definition at line 1432 of file node_group_operator.cc.
References asset_flag_for_context(), C, CTX_data_active_object(), CTX_data_main(), flag, get_static_item_tree(), IFACE_, blender::wm::InvokeRegionWin, uiLayout::label(), Menu::layout, LISTBASE_FOREACH, Main::nodetrees, uiLayout::op(), blender::ed::asset::operator_asset_reference_props_set(), ot, RNA_string_set(), uiLayout::separator(), tree, UI_ITEM_NONE, WM_operator_properties_id_lookup_set_from_id(), and WM_operatortype_find().
Referenced by node_group_operator_assets_menu_unassigned().
| void blender::ed::geometry::clear_operator_asset_trees | ( | ) |
Definition at line 1198 of file node_group_operator.cc.
References get_static_item_tree(), OB_CURVES, OB_GREASE_PENCIL, OB_MESH, OB_MODE_EDIT, OB_MODE_OBJECT, OB_MODE_PAINT_GREASE_PENCIL, OB_MODE_SCULPT, OB_MODE_SCULPT_CURVES, OB_MODE_SCULPT_GREASE_PENCIL, OB_POINTCLOUD, and tree.
Referenced by view3d_header_region_listener().
| 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 525 of file geometry_attributes.cc.
References blender::bke::MutableAttributeAccessor::add(), blender::CPPType::alignment, BKE_attributes_active_name_get(), BKE_attributes_active_set(), BKE_report(), BLI_assert, blender::bke::AttributeAccessor::contains(), ELEM, blender::bke::AttributeAccessor::lookup_or_default(), blender::GVArrayCommon::materialize_to_uninitialized(), MEM_freeN(), MEM_mallocN_aligned(), name, blender::bke::MutableAttributeAccessor::remove(), RPT_ERROR, blender::CPPType::size, blender::GVArrayCommon::size(), blender::bke::String, and blender::GVArrayCommon::type().
Referenced by geometry_attribute_convert_exec(), geometry_color_attribute_convert_exec(), blender::ed::mesh::join_generic_attributes(), and blender::ed::sculpt_paint::undo::set_active_layer().
|
static |
Definition at line 511 of file node_group_operator.cc.
References input.
Referenced by gather_input_ids().
|
static |
Find all the visible node editors to log values for.
Definition at line 150 of file node_group_operator.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), bScreen::areabase, BKE_workspace_active_screen_get(), SpaceNode::edittree, ListBase::first, blender::nodes::geo_eval_log::GeoNodesLog::get_context_hash_by_zone_for_node_editor(), hash, LISTBASE_FOREACH, SpaceNode::node_tree_sub_type, SNODE_GEOMETRY_TOOL, SPACE_NODE, SpaceLink::spacetype, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::values(), and Main::wm.
Referenced by 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 559 of file node_group_operator.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), BKE_libblock_find_name(), find_group_input_by_identifier(), IDP_foreach_property(), IDP_string_get, IDP_TYPE_FILTER_STRING, input, IDProperty::name, and socket_type_to_id_type().
Referenced by 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 497 of file node_group_operator.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), BLI_assert, bNodeTree::id, bNodeTree::runtime, and blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size().
Referenced by run_node_group_exec().
|
static |
Definition at line 635 of file node_group_operator.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::Vector< T, InlineBufferCapacity, Allocator >::append(), C, CTX_data_active_object(), CTX_DATA_BEGIN, CTX_DATA_END, CTX_data_scene(), CTX_data_view_layer(), CTX_wm_view3d(), FOREACH_OBJECT_IN_MODE_BEGIN, FOREACH_OBJECT_IN_MODE_END, OB_MODE_OBJECT, object_has_editable_data(), and Object::type.
Referenced by run_node_group_exec().
|
static |
Definition at line 294 of file geometry_attributes.cc.
References blender::bke::AttributeStorage::add(), BKE_attribute_new(), BKE_attributes_active_set(), BKE_report(), C, blender::ed::object::context_object(), blender::bke::custom_data_type_to_attr_type(), blender::bke::custom_data_type_to_cpp_type(), Object::data, DEG_id_tag_update(), blender::bke::AttributeAccessor::domain_size(), blender::bke::AttributeAccessor::domain_supported(), blender::bke::Attribute::ArrayData::from_default_value(), AttributeOwner::from_id(), AttributeOwner::get_accessor(), AttributeOwner::get_storage(), ID_RECALC_GEOMETRY, MAX_NAME, Mesh, blender::bke::Attribute::name(), CustomDataLayer::name, name, NC_GEOM, ND_DATA, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, RNA_enum_get(), RNA_string_get(), RPT_ERROR, AttributeOwner::type(), blender::bke::AttributeStorage::unique_name_calc(), and WM_main_add_notifier().
Referenced by GEOMETRY_OT_attribute_add().
|
static |
Definition at line 343 of file geometry_attributes.cc.
References BLT_I18NCONTEXT_OPERATOR_DEFAULT, C, CTX_IFACE_, DATA_, free(), IFACE_, MEM_freeN(), wmOperator::ptr, RNA_property_enum_items(), RNA_property_enum_set(), RNA_property_is_set(), RNA_property_string_set(), RNA_struct_find_property(), EnumPropertyItem::value, and WM_operator_props_popup_confirm_ex().
Referenced by GEOMETRY_OT_attribute_add().
|
static |
Definition at line 563 of file geometry_attributes.cc.
References BKE_attributes_active_index_p(), BKE_attributes_active_name_get(), BKE_attributes_active_set(), BKE_defvert_add_index_notest(), BKE_id_defgroup_list_get(), BKE_object_defgroup_data_create(), BKE_object_defgroup_new(), BLI_findindex(), C, blender::ed::object::context_object(), convert_attribute(), blender::bke::custom_data_type_to_attr_type(), Object::data, DEG_id_tag_update(), AttributeOwner::from_id(), Generic, Curves::geometry, i, Curves::id, ID_RECALC_GEOMETRY, blender::bke::AttributeAccessor::lookup_or_default(), blender::VArrayCommon< T >::materialize(), name, NC_GEOM, ND_DATA, OB_CURVES, OB_MESH, OB_POINTCLOUD, OPERATOR_CANCELLED, OPERATOR_FINISHED, blender::bke::Point, wmOperator::ptr, blender::bke::MutableAttributeAccessor::remove(), wmOperator::reports, RNA_enum_get(), Object::type, VertexGroup, and WM_main_add_notifier().
Referenced by GEOMETRY_OT_attribute_convert().
|
static |
Definition at line 863 of file geometry_attributes.cc.
References blender::bke::attr_type_to_custom_data_type(), BKE_attributes_active_name_get(), C, blender::ed::object::context_object(), Object::data, blender::bke::AttributeMetaData::data_type, blender::bke::AttributeMetaData::domain, AttributeOwner::from_id(), blender::bke::AttributeAccessor::from_id(), IFACE_, blender::bke::AttributeAccessor::lookup_meta_data(), wmOperator::ptr, RNA_property_enum_set(), RNA_property_is_set(), RNA_struct_find_property(), and WM_operator_props_dialog_popup().
Referenced by GEOMETRY_OT_attribute_convert().
|
static |
Definition at line 916 of file geometry_attributes.cc.
References C, blender::ed::object::context_object(), convert_attribute_mode_items, Generic, OB_MESH, rna_enum_dummy_NULL_items, RNA_enum_item_add(), RNA_enum_item_end(), and Object::type.
Referenced by GEOMETRY_OT_attribute_convert().
|
static |
Definition at line 504 of file geometry_attributes.cc.
References BKE_attributes_active_name_get(), C, blender::ed::object::context_object(), CTX_data_edit_object(), CTX_wm_operator_poll_msg_set(), data, Object::data, AttributeOwner::from_id(), geometry_attributes_poll(), OB_MESH, and Object::type.
Referenced by GEOMETRY_OT_attribute_convert().
|
static |
Definition at line 887 of file geometry_attributes.cc.
References C, blender::ed::object::context_object(), Generic, wmOperator::layout, OB_MESH, OB_POINTCLOUD, uiLayout::prop(), wmOperator::ptr, RNA_enum_get(), Object::type, UI_ITEM_NONE, uiLayout::use_property_decorate_set(), and uiLayout::use_property_split_set().
Referenced by GEOMETRY_OT_attribute_convert().
|
static |
Definition at line 276 of file geometry_attributes.cc.
References C, blender::ed::object::context_object(), Object::data, AttributeOwner::from_id(), rna_enum_attribute_domain_itemf(), and rna_enum_dummy_NULL_items.
Referenced by GEOMETRY_OT_attribute_add(), and GEOMETRY_OT_attribute_convert().
|
static |
Definition at line 413 of file geometry_attributes.cc.
References BKE_attribute_remove(), BKE_attributes_active_index_p(), BKE_attributes_active_name_get(), C, blender::ed::object::context_object(), Object::data, DEG_id_tag_update(), AttributeOwner::from_id(), ID_RECALC_GEOMETRY, name, NC_GEOM, ND_DATA, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::reports, and WM_main_add_notifier().
Referenced by GEOMETRY_OT_attribute_remove().
|
static |
Definition at line 245 of file geometry_attributes.cc.
References BKE_id_is_editable(), C, blender::ed::object::context_object(), CTX_data_main(), data, Object::data, blender::bke::AttributeAccessor::from_id(), and Object::id.
Referenced by geometry_attribute_convert_poll(), geometry_attributes_remove_poll(), geometry_color_attribute_convert_poll(), geometry_color_attributes_duplicate_poll(), geometry_color_attributes_remove_poll(), GEOMETRY_OT_attribute_add(), GEOMETRY_OT_color_attribute_add(), and GEOMETRY_OT_color_attribute_render_set().
|
static |
Definition at line 260 of file geometry_attributes.cc.
References BKE_attributes_active_name_get(), C, blender::ed::object::context_object(), data, Object::data, AttributeOwner::from_id(), and geometry_attributes_poll().
Referenced by GEOMETRY_OT_attribute_remove().
|
static |
Definition at line 450 of file geometry_attributes.cc.
References BKE_attribute_new(), BKE_id_attributes_active_color_set(), BKE_id_attributes_color_find(), BKE_id_attributes_default_color_name(), BKE_id_attributes_default_color_set(), C, blender::ed::object::context_object(), Object::data, DEG_id_tag_update(), AttributeOwner::from_id(), ID_RECALC_GEOMETRY, MAX_NAME, CustomDataLayer::name, name, NC_GEOM, ND_DATA, blender::ed::sculpt_paint::object_active_color_fill(), OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, RNA_enum_get(), RNA_float_get_array(), RNA_string_get(), and WM_main_add_notifier().
Referenced by GEOMETRY_OT_color_attribute_add().
|
static |
Definition at line 483 of file geometry_attributes.cc.
References BLT_I18NCONTEXT_OPERATOR_DEFAULT, C, CTX_IFACE_, DATA_, IFACE_, wmOperator::ptr, RNA_property_is_set(), RNA_property_string_set(), RNA_struct_find_property(), and WM_operator_props_popup_confirm_ex().
Referenced by GEOMETRY_OT_color_attribute_add().
|
static |
Definition at line 654 of file geometry_attributes.cc.
References wmOperator::layout, uiLayout::prop(), wmOperator::ptr, UI_ITEM_NONE, UI_ITEM_R_EXPAND, uiLayout::use_property_decorate_set(), and uiLayout::use_property_split_set().
Referenced by GEOMETRY_OT_color_attribute_add().
|
static |
Definition at line 980 of file geometry_attributes.cc.
References C, blender::ed::object::context_object(), convert_attribute(), blender::bke::custom_data_type_to_attr_type(), Object::data, DEG_id_tag_update(), AttributeOwner::from_id(), ID_RECALC_GEOMETRY, NC_GEOM, ND_DATA, OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, RNA_enum_get(), and WM_main_add_notifier().
Referenced by GEOMETRY_OT_color_attribute_convert().
|
static |
Definition at line 997 of file geometry_attributes.cc.
References blender::bke::attr_type_to_custom_data_type(), C, blender::ed::object::context_object(), Object::data, blender::bke::AttributeMetaData::data_type, blender::bke::AttributeMetaData::domain, IFACE_, name, wmOperator::ptr, RNA_property_enum_set(), RNA_property_is_set(), RNA_struct_find_property(), and WM_operator_props_dialog_popup().
Referenced by GEOMETRY_OT_color_attribute_convert().
|
static |
Definition at line 947 of file geometry_attributes.cc.
References ATTR_DOMAIN_AS_MASK, ATTR_DOMAIN_MASK_COLOR, blender::bke::attr_type_to_custom_data_type(), C, CD_MASK_COLOR_ALL, CD_TYPE_AS_MASK(), blender::ed::object::context_object(), CTX_data_edit_object(), CTX_wm_operator_poll_msg_set(), Object::data, geometry_attributes_poll(), GS, ID_ME, blender::bke::AttributeAccessor::lookup_meta_data(), and name.
Referenced by GEOMETRY_OT_color_attribute_convert().
|
static |
Definition at line 1019 of file geometry_attributes.cc.
References wmOperator::layout, uiLayout::prop(), wmOperator::ptr, UI_ITEM_R_EXPAND, uiLayout::use_property_decorate_set(), and uiLayout::use_property_split_set().
Referenced by GEOMETRY_OT_color_attribute_convert().
|
static |
Definition at line 805 of file geometry_attributes.cc.
References BKE_attribute_duplicate(), BKE_id_attributes_active_color_name(), BKE_id_attributes_active_color_set(), C, blender::ed::object::context_object(), Object::data, DEG_id_tag_update(), AttributeOwner::from_id(), ID_RECALC_GEOMETRY, CustomDataLayer::name, NC_GEOM, ND_DATA, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::reports, and WM_main_add_notifier().
Referenced by GEOMETRY_OT_color_attribute_duplicate().
|
static |
Definition at line 755 of file geometry_attributes.cc.
References BKE_attribute_remove(), BKE_id_attributes_active_color_name(), C, blender::ed::object::context_object(), Object::data, DEG_id_tag_update(), AttributeOwner::from_id(), ID_RECALC_GEOMETRY, NC_GEOM, ND_DATA, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::reports, and WM_main_add_notifier().
Referenced by GEOMETRY_OT_color_attribute_remove().
|
static |
Definition at line 714 of file geometry_attributes.cc.
References BKE_id_attributes_color_find(), BKE_id_attributes_default_color_set(), C, blender::ed::object::context_object(), Object::data, DEG_id_tag_update(), ID_RECALC_GEOMETRY, MAX_NAME, name, NC_GEOM, ND_DATA, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_string_get(), and WM_main_add_notifier().
Referenced by GEOMETRY_OT_color_attribute_render_set().
|
static |
Definition at line 828 of file geometry_attributes.cc.
References BKE_id_attributes_active_color_name(), BKE_id_attributes_color_find(), C, blender::ed::object::context_object(), CTX_data_edit_object(), CTX_wm_operator_poll_msg_set(), data, Object::data, and geometry_attributes_poll().
Referenced by GEOMETRY_OT_color_attribute_duplicate().
|
static |
Definition at line 774 of file geometry_attributes.cc.
References BKE_id_attributes_active_color_name(), BKE_id_attributes_color_find(), C, blender::ed::object::context_object(), data, Object::data, and geometry_attributes_poll().
Referenced by GEOMETRY_OT_color_attribute_remove().
| void blender::ed::geometry::GEOMETRY_OT_attribute_add | ( | wmOperatorType * | ot | ) |
Definition at line 371 of file geometry_attributes.cc.
References CD_PROP_FLOAT, geometry_attribute_add_exec(), geometry_attribute_add_invoke(), geometry_attribute_domain_itemf(), geometry_attributes_poll(), MAX_NAME, OPTYPE_REGISTER, OPTYPE_UNDO, ot, blender::bke::Point, PROP_SKIP_SAVE, RNA_def_enum(), RNA_def_enum_funcs(), RNA_def_property_flag(), RNA_def_string(), rna_enum_attribute_domain_items, and rna_enum_attribute_type_items.
Referenced by operatortypes_geometry().
| void blender::ed::geometry::GEOMETRY_OT_attribute_convert | ( | wmOperatorType * | ot | ) |
Definition at line 1061 of file geometry_attributes.cc.
References CD_PROP_FLOAT, convert_attribute_mode_items, 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(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, blender::bke::Point, RNA_def_enum(), RNA_def_enum_funcs(), rna_enum_attribute_domain_items, and rna_enum_attribute_type_items.
Referenced by operatortypes_geometry().
| void blender::ed::geometry::GEOMETRY_OT_attribute_remove | ( | wmOperatorType * | ot | ) |
Definition at line 435 of file geometry_attributes.cc.
References geometry_attribute_remove_exec(), geometry_attributes_remove_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by operatortypes_geometry().
| void blender::ed::geometry::GEOMETRY_OT_color_attribute_add | ( | wmOperatorType * | ot | ) |
Definition at line 666 of file geometry_attributes.cc.
References CD_PROP_COLOR, FLT_MAX, geometry_attributes_poll(), geometry_color_attribute_add_exec(), geometry_color_attribute_add_invoke(), geometry_color_attribute_add_ui(), MAX_NAME, OPTYPE_REGISTER, OPTYPE_UNDO, ot, blender::bke::Point, PROP_COLOR, PROP_SKIP_SAVE, RNA_def_enum(), RNA_def_float_color(), RNA_def_property_flag(), RNA_def_property_float_array_default(), RNA_def_property_subtype(), RNA_def_string(), rna_enum_color_attribute_domain_items, and rna_enum_color_attribute_type_items.
Referenced by operatortypes_geometry().
| void blender::ed::geometry::GEOMETRY_OT_color_attribute_convert | ( | wmOperatorType * | ot | ) |
Definition at line 1029 of file geometry_attributes.cc.
References CD_PROP_COLOR, geometry_color_attribute_convert_exec(), geometry_color_attribute_convert_invoke(), geometry_color_attribute_convert_poll(), geometry_color_attribute_convert_ui(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, blender::bke::Point, PROP_SKIP_SAVE, RNA_def_enum(), RNA_def_property_flag(), rna_enum_color_attribute_domain_items, and rna_enum_color_attribute_type_items.
Referenced by operatortypes_geometry().
| void blender::ed::geometry::GEOMETRY_OT_color_attribute_duplicate | ( | wmOperatorType * | ot | ) |
Definition at line 848 of file geometry_attributes.cc.
References geometry_color_attribute_duplicate_exec(), geometry_color_attributes_duplicate_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by operatortypes_geometry().
| void blender::ed::geometry::GEOMETRY_OT_color_attribute_remove | ( | wmOperatorType * | ot | ) |
Definition at line 790 of file geometry_attributes.cc.
References geometry_color_attribute_remove_exec(), geometry_color_attributes_remove_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by operatortypes_geometry().
| void blender::ed::geometry::GEOMETRY_OT_color_attribute_render_set | ( | wmOperatorType * | ot | ) |
Definition at line 734 of file geometry_attributes.cc.
References geometry_attributes_poll(), geometry_color_attribute_set_render_exec(), MAX_NAME, OPTYPE_INTERNAL, OPTYPE_REGISTER, ot, PROP_SKIP_SAVE, RNA_def_property_flag(), and RNA_def_string().
Referenced by operatortypes_geometry().
| void blender::ed::geometry::GEOMETRY_OT_execute_node_group | ( | wmOperatorType * | ot | ) |
Definition at line 950 of file node_group_operator.cc.
References FLT_MAX, blender::ed::asset::operator_asset_reference_props_register(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, PROP_HIDDEN, RNA_def_boolean(), RNA_def_float_array(), RNA_def_int_array(), RNA_def_property_flag(), run_node_group_depends_on_cursor(), run_node_group_exec(), run_node_group_get_description(), run_node_group_get_name(), run_node_group_invoke(), run_node_group_ui(), run_node_ui_poll(), and WM_operator_properties_id_lookup().
Referenced by operatortypes_geometry().
| void blender::ed::geometry::GEOMETRY_OT_geometry_randomization | ( | wmOperatorType * | ot | ) |
Definition at line 43 of file geometry_randomization.cc.
References geometry_randomization_exec(), geometry_randomization_invoke(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and RNA_def_boolean().
Referenced by operatortypes_geometry().
|
static |
Definition at line 30 of file geometry_randomization.cc.
References C, CTX_data_main(), DEG_id_tag_update(), G, ID_RECALC_GEOMETRY, LISTBASE_FOREACH, NC_WINDOW, Main::objects, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), and WM_event_add_notifier().
Referenced by GEOMETRY_OT_geometry_randomization().
|
static |
Definition at line 22 of file geometry_randomization.cc.
References C, G, wmOperator::ptr, RNA_boolean_set(), and WM_operator_props_popup().
Referenced by GEOMETRY_OT_geometry_randomization().
|
static |
Definition at line 97 of file node_group_operator.cc.
References blender::ed::asset::asset_local_id_ensure_imported(), C, CTX_data_main(), ID_NT, blender::ed::asset::operator_asset_reference_props_get_asset_from_all_library(), ptr, and WM_operator_properties_id_lookup_from_name_or_session_uid().
Referenced by 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 1242 of file node_group_operator.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_new(), OB_CURVES, OB_GREASE_PENCIL, OB_MESH, OB_MODE_EDIT, OB_MODE_OBJECT, OB_MODE_PAINT_GREASE_PENCIL, OB_MODE_SCULPT, OB_MODE_SCULPT_GREASE_PENCIL, OB_MODE_VERTEX_PAINT, OB_MODE_WEIGHT_PAINT, and OB_POINTCLOUD.
Referenced by catalog_assets_draw(), and ui_template_node_operator_asset_root_items().
|
static |
Definition at line 116 of file node_group_operator.cc.
References BKE_report(), C, get_asset_or_local_node_group(), NTREE_GEOMETRY, ptr, RPT_ERROR, and bNodeTree::type.
Referenced by run_node_group_exec(), run_node_group_invoke(), and run_node_group_ui().
|
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 285 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(), BKE_curves_copy_for_eval(), BKE_grease_pencil_copy_for_eval(), BKE_mesh_copy_for_eval(), BKE_pointcloud_copy_for_eval(), BM_mesh_active_edge_index_get(), BM_mesh_active_face_index_get(), BM_mesh_active_vert_index_get(), data, DEG_get_bmain(), DEG_get_ctime(), depsgraph, EDBM_mesh_free_data(), 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(), OB_CURVES, OB_GREASE_PENCIL, OB_MESH, OB_POINTCLOUD, blender::bke::object::pbvh_get(), GreasePencil::runtime, and blender::bke::pbvh::update_normals().
Referenced by run_node_group_exec().
|
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 138 of file node_group_operator.cc.
References log.
Referenced by node_group_operator_static_eval_log(), run_node_group_exec(), and run_node_group_ui().
|
static |
Definition at line 1193 of file node_group_operator.cc.
References get_static_item_tree(), Object::mode, and Object::type.
|
static |
Definition at line 1113 of file node_group_operator.cc.
References OB_CURVES, OB_GREASE_PENCIL, OB_MESH, OB_MODE_EDIT, OB_MODE_OBJECT, OB_MODE_PAINT_GREASE_PENCIL, OB_MODE_SCULPT, OB_MODE_SCULPT_CURVES, OB_MODE_SCULPT_GREASE_PENCIL, OB_POINTCLOUD, and tree.
Referenced by catalog_assets_draw(), catalog_assets_draw_unassigned(), clear_operator_asset_trees(), get_static_item_tree(), ui_template_node_operator_asset_menu_items(), and ui_template_node_operator_asset_root_items().
|
static |
Definition at line 181 of file node_group_operator.cc.
References CD_MDEFORMVERT, and CustomData_get_layer_index().
Referenced by blender::ed::geometry::MeshState::MeshState().
| MenuType blender::ed::geometry::node_group_operator_assets_menu | ( | ) |
Definition at line 1398 of file node_group_operator.cc.
References asset_menu_poll(), blender::ed::asset::list::asset_reading_region_listen_fn(), catalog_assets_draw(), ContextDependent, MenuType::draw, MenuType::flag, MenuType::idname, MenuType::listener, MenuType::poll, and STRNCPY_UTF8.
Referenced by ED_spacetype_view3d().
| MenuType blender::ed::geometry::node_group_operator_assets_menu_unassigned | ( | ) |
Definition at line 1486 of file node_group_operator.cc.
References asset_menu_poll(), blender::ed::asset::list::asset_reading_region_listen_fn(), catalog_assets_draw_unassigned(), ContextDependent, MenuType::description, MenuType::draw, MenuType::flag, MenuType::idname, MenuType::label, MenuType::listener, N_, MenuType::poll, and STRNCPY_UTF8.
Referenced by ED_spacetype_view3d().
| const GeoOperatorLog & blender::ed::geometry::node_group_operator_static_eval_log | ( | ) |
Definition at line 144 of file node_group_operator.cc.
References get_static_eval_log().
Referenced by blender::nodes::geo_eval_log::get_root_log().
|
static |
Definition at line 624 of file node_group_operator.cc.
References BKE_id_is_editable(), data, ELEM, OB_CURVES, OB_GREASE_PENCIL, OB_MESH, and OB_POINTCLOUD.
Referenced by gather_supported_objects().
| 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_execute_node_group(), GEOMETRY_OT_geometry_randomization(), and WM_operatortype_append().
Referenced by ED_spacetypes_init().
| void blender::ed::geometry::register_rna_properties_for_attribute_types | ( | StructRNA & | srna | ) |
Definition at line 85 of file geometry_attributes.cc.
References FLT_MAX, RNA_def_boolean(), RNA_def_float(), RNA_def_float_array(), RNA_def_float_color(), RNA_def_int(), and RNA_def_int_array().
Referenced by blender::ed::curves::CURVES_OT_attribute_set(), MESH_OT_attribute_set(), and blender::ed::pointcloud::POINTCLOUD_OT_attribute_set().
Definition at line 271 of file node_group_operator.cc.
References Key::block, LISTBASE_FOREACH, blender::bke::MutableAttributeAccessor::remove(), and shape_key_attribute_name().
Referenced by store_result_geometry().
|
static |
Definition at line 612 of file node_group_operator.cc.
References blender::nodes::GeoNodesOperatorDepsgraphs::get_evaluated_id(), GS, ID_TYPE_USE_COPY_ON_EVAL, IDP_foreach_property(), IDP_ID_get, and IDP_TYPE_FILTER_ID.
Referenced by run_node_group_exec().
|
static |
Definition at line 597 of file node_group_operator.cc.
References blender::bke::idprop::create(), blender::bke::idprop::create_group(), IDP_AddToGroup(), IDP_CopyProperty(), IDP_foreach_property(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_default(), and IDProperty::name.
Referenced by run_node_group_exec().
| GPointer blender::ed::geometry::rna_property_for_attribute_type_retrieve_value | ( | PointerRNA & | ptr, |
| const bke::AttrType | type, | ||
| void * | buffer ) |
Definition at line 118 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::Int16_2D, blender::bke::Int32, blender::bke::Int32_2D, blender::bke::Int8, ptr, RNA_boolean_get(), RNA_float_get(), RNA_float_get_array(), RNA_int_get(), RNA_int_get_array(), and rna_property_name_for_type().
Referenced by blender::ed::mesh::set_attribute::mesh_set_attribute_exec(), 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 167 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::GPointer::get(), blender::bke::Int16_2D, blender::bke::Int32, blender::bke::Int32_2D, blender::bke::Int8, ptr, RNA_property_boolean_set(), RNA_property_float_set(), RNA_property_float_set_array(), RNA_property_int_set(), RNA_property_int_set_array(), and blender::GPointer::type().
Referenced by blender::ed::mesh::set_attribute::mesh_set_attribute_invoke(), 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 80 of file geometry_attributes.cc.
References ptr, rna_property_name_for_type(), and RNA_struct_find_property().
Referenced by blender::ed::mesh::set_attribute::mesh_set_attribute_invoke(), 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 54 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::Int16_2D, blender::bke::Int32, blender::bke::Int32_2D, and blender::bke::Int8.
Referenced by blender::ed::mesh::set_attribute::mesh_set_attribute_ui(), rna_property_for_attribute_type_retrieve_value(), rna_property_for_type(), blender::ed::curves::set_attribute_ui(), and blender::ed::pointcloud::set_attribute_ui().
|
static |
Definition at line 924 of file node_group_operator.cc.
References BKE_asset_metadata_idprop_find(), C, CTX_data_main(), GEO_NODE_ASSET_WAIT_FOR_CURSOR, ID_NT, IDP_int_get, blender::ed::asset::operator_asset_reference_props_get_asset_from_all_library(), ptr, and WM_operator_properties_id_lookup_from_name_or_session_uid().
Referenced by GEOMETRY_OT_execute_node_group().
|
static |
Definition at line 676 of file node_group_operator.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::nodes::geo_eval_log::GeoTreeLog::all_warnings, blender::MatBase< T, NumCol, NumRow, Alignment >::base_ptr(), BKE_report(), BLI_SCOPED_DEFER, build_extra_depsgraph(), C, CTX_data_active_object(), CTX_data_ensure_evaluated_depsgraph(), CTX_data_main(), CTX_data_scene(), CTX_wm_region_view3d(), blender::nodes::GeoNodesOperatorData::cursor_position, blender::nodes::GeoNodesOperatorData::cursor_rotation, DEG_get_evaluated(), DEG_id_is_fully_evaluated(), blender::nodes::GeoNodesOperatorData::depsgraphs, blender::nodes::ensure_geometry_nodes_lazy_function_graph(), blender::nodes::geo_eval_log::GeoTreeLog::ensure_node_warnings(), blender::nodes::GeoNodesCallData::eval_log, blender::nodes::execute_geometry_nodes_on_geometry(), blender::nodes::GeoNodesOperatorDepsgraphs::extra, find_socket_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(), bNodeTree::id, IDP_FreeProperty_ex(), blender::nodes::Info, blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::is_empty(), blender::ed::geometry::GeoOperatorLog::log, blender::nodes::geo_eval_log::NodeWarning::message, blender::nodes::GeoNodesOperatorData::mode, Object::mode, blender::nodes::GeoNodesOperatorData::mouse_position, ID::name, NC_GEOM, ND_DATA, blender::ed::geometry::GeoOperatorLog::node_group_name, nullptr, OPERATOR_CANCELLED, blender::nodes::GeoNodesCallData::operator_data, OPERATOR_FINISHED, wmOperator::properties, wmOperator::ptr, blender::nodes::GeoNodesOperatorData::region_size, replace_inputs_evaluated_data_blocks(), replace_strings_with_id_pointers(), wmOperator::reports, RNA_boolean_get(), RNA_float_get_array(), RNA_int_get_array(), RPT_ERROR, RPT_INFO, RPT_WARNING, blender::nodes::GeoNodesOperatorData::scene_orig, blender::nodes::GeoNodesOperatorData::self_object_orig, blender::nodes::GeoNodesCallData::socket_log_contexts, store_result_geometry(), STREQ, blender::nodes::geo_eval_log::NodeWarning::type, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::values(), blender::nodes::GeoNodesOperatorData::viewport_is_perspective, blender::nodes::GeoNodesOperatorData::viewport_viewmat, blender::nodes::GeoNodesOperatorData::viewport_winmat, blender::math::QuaternionBase< T >::w, and WM_event_add_notifier().
Referenced by GEOMETRY_OT_execute_node_group(), and run_node_group_invoke().
|
static |
Definition at line 861 of file node_group_operator.cc.
References C, blender::ed::asset::operator_asset_reference_props_get_asset_from_all_library(), and ptr.
Referenced by GEOMETRY_OT_execute_node_group().
|
static |
Definition at line 913 of file node_group_operator.cc.
References blender::StringRef::drop_prefix(), blender::StringRefBase::find_last_of(), ptr, RNA_string_get(), and SEP_STR.
Referenced by GEOMETRY_OT_execute_node_group().
|
static |
Definition at line 845 of file node_group_operator.cc.
References C, get_node_group(), OPERATOR_CANCELLED, wmOperator::properties, wmOperator::ptr, wmOperator::reports, run_node_group_exec(), store_input_node_values_rna_props(), and blender::nodes::update_output_properties_from_node_tree().
Referenced by GEOMETRY_OT_execute_node_group().
|
static |
Definition at line 876 of file node_group_operator.cc.
References C, CTX_data_main(), blender::nodes::draw_geometry_nodes_operator_redo_ui(), get_node_group(), get_static_eval_log(), blender::ComputeContext::hash(), wmOperator::layout, blender::ed::geometry::GeoOperatorLog::log, wmOperator::ptr, RNA_main_pointer_create(), uiLayout::use_property_decorate_set(), and uiLayout::use_property_split_set().
Referenced by GEOMETRY_OT_execute_node_group().
|
static |
Definition at line 899 of file node_group_operator.cc.
References flag, PROP_HIDDEN, ptr, result, RNA_property_flag(), RNA_STRUCT_BEGIN, and RNA_STRUCT_END.
Referenced by GEOMETRY_OT_execute_node_group().
|
static |
Definition at line 226 of file node_group_operator.cc.
References KeyBlock::name.
Referenced by add_shape_keys_as_attributes(), remove_shape_key_attributes(), and store_attributes_to_shape_keys().
|
static |
Definition at line 522 of file node_group_operator.cc.
References ID_GR, ID_IM, ID_MA, ID_OB, ID_TE, SOCK_BOOLEAN, SOCK_BUNDLE, SOCK_CLOSURE, SOCK_COLLECTION, SOCK_CUSTOM, SOCK_FLOAT, SOCK_GEOMETRY, SOCK_IMAGE, SOCK_INT, SOCK_MATERIAL, SOCK_MATRIX, SOCK_MENU, SOCK_OBJECT, SOCK_RGBA, SOCK_ROTATION, SOCK_SHADER, SOCK_STRING, SOCK_TEXTURE, and SOCK_VECTOR.
Referenced by gather_input_ids().
Definition at line 248 of file node_group_operator.cc.
References Key::block, blender::array_utils::copy(), LISTBASE_FOREACH, blender::bke::AttributeAccessor::lookup(), blender::VArrayCommon< T >::materialize(), MEM_freeN(), MEM_malloc_arrayN(), blender::bke::Point, Key::refkey, shape_key_attribute_name(), blender::Span< T >::size(), and blender::VArrayCommon< T >::size().
Referenced by 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 813 of file node_group_operator.cc.
References BLI_rcti_size_x(), BLI_rcti_size_y(), C, CTX_data_scene(), CTX_wm_region(), CTX_wm_region_view3d(), Scene::cursor, blender::MatBase< float, 4, 4 >::identity(), RegionView3D::is_persp, View3DCursor::location, wmEvent::mval, wmOperator::ptr, RNA_boolean_set(), RNA_float_set_array(), RNA_int_set_array(), RegionView3D::viewmat, blender::math::QuaternionBase< T >::w, RegionView3D::winmat, and ARegion::winrct.
Referenced by run_node_group_invoke().
|
static |
Definition at line 344 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(), PointCloud::attribute_storage, BKE_editmesh_looptris_and_normals_calc(), BKE_id_free(), BKE_mesh_new_nomain(), BKE_mesh_nomain_to_mesh(), BKE_object_material_from_eval_data(), BKE_pointcloud_nomain_to_pointcloud(), C, DEG_get_ctime(), DEG_id_tag_update(), depsgraph, EDBM_mesh_make_from_mesh(), blender::ed::greasepencil::ensure_active_keyframe(), blender::bke::greasepencil::ensure_non_empty_layer_names(), blender::IndexMask::from_indices(), Curves::geometry, Curves::id, GreasePencil::id, Mesh::id, PointCloud::id, ID_RECALC_GEOMETRY, NA_EDITED, NC_GPENCIL, OB_CURVES, OB_GREASE_PENCIL, OB_MESH, OB_MODE_EDIT, OB_MODE_SCULPT, OB_POINTCLOUD, remove_shape_key_attributes(), ToolSettings::selectmode, store_attributes_to_shape_keys(), blender::ed::sculpt_paint::store_mesh_from_eval(), Scene::toolsettings, PointCloud::totpoint, and WM_event_add_notifier().
Referenced by run_node_group_exec().
| void blender::ed::geometry::ui_template_node_operator_asset_menu_items | ( | uiLayout & | layout, |
| const bContext & | C, | ||
| const StringRef | catalog_path ) |
Definition at line 1501 of file node_group_operator.cc.
References blender::asset_system::all_library_reference(), C, blender::asset_system::AssetCatalogTreeItem::catalog_path(), col, uiLayout::column(), CTX_data_active_object(), get_static_item_tree(), blender::ed::asset::list::library_get_once_available(), blender::asset_system::AssetCatalogPath::str(), and tree.
| void blender::ed::geometry::ui_template_node_operator_asset_root_items | ( | uiLayout & | layout, |
| const bContext & | C ) |
Definition at line 1527 of file node_group_operator.cc.
References build_catalog_tree(), C, blender::asset_system::AssetCatalogTreeItem::catalog_path(), blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains_as(), CTX_data_active_object(), blender::ed::asset::draw_menu_for_catalog(), get_builtin_menus(), get_static_item_tree(), uiLayout::menu(), Object::mode, blender::asset_system::AssetCatalogPath::str(), tree, Object::type, and unassigned_local_poll().
|
static |
Definition at line 1409 of file node_group_operator.cc.
References asset_flag_for_context(), C, CTX_data_active_object(), CTX_data_main(), flag, LISTBASE_FOREACH, and Main::nodetrees.
Referenced by ui_template_node_operator_asset_root_items().
|
static |
Definition at line 910 of file geometry_attributes.cc.
Referenced by geometry_attribute_convert_mode_itemf(), and GEOMETRY_OT_attribute_convert().