Blender V5.0
geometry_nodes_caller_ui.cc File Reference
#include <fmt/format.h>
#include <sstream>
#include "BKE_compute_contexts.hh"
#include "BKE_context.hh"
#include "BKE_global.hh"
#include "BKE_lib_id.hh"
#include "BKE_main.hh"
#include "BKE_modifier.hh"
#include "BKE_node.hh"
#include "BKE_node_runtime.hh"
#include "BKE_screen.hh"
#include "BLI_string.h"
#include "BLI_string_utf8.h"
#include "BLT_translation.hh"
#include "DNA_modifier_types.h"
#include "DNA_node_tree_interface_types.h"
#include "ED_object.hh"
#include "ED_screen.hh"
#include "ED_undo.hh"
#include "MOD_nodes.hh"
#include "NOD_geometry.hh"
#include "NOD_geometry_nodes_caller_ui.hh"
#include "NOD_geometry_nodes_log.hh"
#include "NOD_socket_usage_inference.hh"
#include "RNA_access.hh"
#include "RNA_prototypes.hh"
#include "UI_interface.hh"
#include "UI_interface_layout.hh"
#include "UI_resources.hh"
#include "intern/MOD_ui_common.hh"

Go to the source code of this file.

Namespaces

namespace  blender
namespace  blender::nodes

Functions

static geo_log::GeoTreeLogblender::nodes::get_root_tree_log (const NodesModifierData &nmd)
static NodesModifierDatablender::nodes::get_modifier_data (Main &bmain, const wmWindowManager &wm, const ModifierSearchData &data)
static void blender::nodes::layer_name_search_update_fn (const bContext *C, void *arg, const char *str, uiSearchItems *items, const bool is_first)
static void blender::nodes::layer_name_search_exec_fn (bContext *C, void *data_v, void *item_v)
static void blender::nodes::add_layer_name_search_button (DrawGroupInputsContext &ctx, uiLayout *layout, const bNodeTreeInterfaceSocket &socket)
static void blender::nodes::attribute_search_update_fn (const bContext *C, void *arg, const char *str, uiSearchItems *items, const bool is_first)
static void blender::nodes::attribute_search_exec_fn (bContext *C, void *data_v, void *item_v)
static void blender::nodes::add_attribute_search_button (DrawGroupInputsContext &ctx, uiLayout *layout, const StringRefNull rna_path_attribute_name, const bNodeTreeInterfaceSocket &socket)
static void blender::nodes::add_attribute_search_or_value_buttons (DrawGroupInputsContext &ctx, uiLayout *layout, const StringRefNull rna_path, const bNodeTreeInterfaceSocket &socket, const std::optional< StringRefNull > use_name=std::nullopt)
static NodesModifierPanelblender::nodes::find_panel_by_id (NodesModifierData &nmd, const int id)
static void blender::nodes::draw_property_for_socket (DrawGroupInputsContext &ctx, uiLayout *layout, const bNodeTreeInterfaceSocket &socket, const std::optional< StringRef > parent_name=std::nullopt)
static bool blender::nodes::interface_panel_has_socket (DrawGroupInputsContext &ctx, const bNodeTreeInterfacePanel &interface_panel)
static bool blender::nodes::interface_panel_affects_output (DrawGroupInputsContext &ctx, const bNodeTreeInterfacePanel &panel)
static void blender::nodes::draw_interface_panel_content (DrawGroupInputsContext &ctx, uiLayout *layout, const bNodeTreeInterfacePanel &interface_panel, const bool skip_first=false, const std::optional< StringRef > parent_name=std::nullopt)
static void blender::nodes::draw_interface_panel_as_panel (DrawGroupInputsContext &ctx, uiLayout &layout, const bNodeTreeInterfacePanel &interface_panel)
static std::string blender::nodes::get_node_warning_panel_name (const int num_errors, const int num_warnings, const int num_infos)
static void blender::nodes::draw_warnings (const bContext *C, const NodesModifierData &nmd, uiLayout *layout, PointerRNA *md_ptr)
static bool blender::nodes::has_output_attribute (const bNodeTree *tree)
static void blender::nodes::draw_property_for_output_socket (DrawGroupInputsContext &ctx, uiLayout *layout, const bNodeTreeInterfaceSocket &socket)
static void blender::nodes::draw_output_attributes_panel (DrawGroupInputsContext &ctx, uiLayout *layout)
static void blender::nodes::draw_bake_panel (uiLayout *layout, PointerRNA *modifier_ptr)
static void blender::nodes::draw_named_attributes_panel (uiLayout *layout, NodesModifierData &nmd)
static void blender::nodes::draw_manage_panel (const bContext *C, uiLayout *layout, PointerRNA *modifier_ptr, NodesModifierData &nmd)
void blender::nodes::draw_geometry_nodes_modifier_ui (const bContext &C, PointerRNA *modifier_ptr, uiLayout &layout)
void blender::nodes::draw_geometry_nodes_operator_redo_ui (const bContext &C, wmOperator &op, bNodeTree &tree, geo_eval_log::GeoTreeLog *tree_log)