23 if (!
params.user_data()->call_data->operator_data) {
24 params.error_message_add(NodeWarningType::Error,
TIP_(
"Node must be run as tool"));
25 params.set_default_remaining_outputs();
40 if (
U.experimental.use_new_volume_nodes) {
47 if (
U.experimental.use_new_file_import_nodes) {
120 params.set_default_remaining_outputs();
121 params.error_message_add(NodeWarningType::Error,
122 TIP_(
"Disabled, Blender was compiled without OpenVDB"));
129 const char **r_disabled_hint)
132 *r_disabled_hint =
RPT_(
"Not a geometry node tree");
std::optional< eNodeSocketDatatype > custom_data_type_to_socket_type(eCustomDataType type)
void node_type_base(bNodeType *ntype, int type, const char *name, short nclass)
bool generic_attribute_type_supported(const EnumPropertyItem &item)
const EnumPropertyItem * attribute_type_type_with_socket_fn(bContext *, PointerRNA *, PropertyRNA *, bool *r_free)
bool custom_data_type_supports_grids(const eCustomDataType data_type)
void search_link_ops_for_tool_node(GatherLinkSearchOpParams ¶ms)
void search_link_ops_for_basic_node(GatherLinkSearchOpParams ¶ms)
bool check_tool_context_and_error(GeoNodeExecParams ¶ms)
void search_link_ops_for_import_node(GatherLinkSearchOpParams ¶ms)
const EnumPropertyItem * grid_custom_data_type_items_filter_fn(bContext *, PointerRNA *, PropertyRNA *, bool *r_free)
const EnumPropertyItem * grid_socket_type_items_filter_fn(bContext *, PointerRNA *, PropertyRNA *, bool *r_free)
void search_link_ops_for_volume_grid_node(GatherLinkSearchOpParams ¶ms)
void node_geo_exec_with_missing_openvdb(GeoNodeExecParams ¶ms)
bool socket_type_supports_grids(const eNodeSocketDatatype socket_type)
const EnumPropertyItem * enum_items_filter(const EnumPropertyItem *original_item_array, FunctionRef< bool(const EnumPropertyItem &item)> fn)
void geo_node_type_base(blender::bke::bNodeType *ntype, int type, const char *name, short nclass)
bool geo_node_poll_default(const blender::bke::bNodeType *, const bNodeTree *ntree, const char **r_disabled_hint)
bool node_insert_link_default(bNodeTree *, bNode *, bNodeLink *)
const EnumPropertyItem rna_enum_attribute_type_items[]
const EnumPropertyItem rna_enum_node_socket_data_type_items[]
bool(* poll)(const bNodeType *ntype, const bNodeTree *nodetree, const char **r_disabled_hint)
NodeGatherSocketLinkOperationsFunction gather_link_search_ops
bool(* insert_link)(bNodeTree *ntree, bNode *node, bNodeLink *link)