49 "Input grid is not a valid level set. Use a signed distance field grid as input");
114 TIP_(
"Disabled, Blender was compiled without OpenVDB"));
127 const char **r_disabled_hint)
130 *r_disabled_hint =
RPT_(
"Not a geometry node tree");
138 const std::optional<int16_t> legacy_type)
148 const char **r_disabled_hint)
150 if (!
STR_ELEM(ntree->
idname,
"GeometryNodeTree",
"CompositorNodeTree")) {
151 *r_disabled_hint =
RPT_(
"Not a geometry or compositor node tree");
159 const std::optional<int16_t> legacy_type)
const SpaceNode & space_node() const
void error_message_add(const NodeWarningType type, StringRef message) const
GeoNodesUserData * user_data() const
void set_default_remaining_outputs()
std::optional< eNodeSocketDatatype > grid_type_to_socket_type(VolumeGridType type)
void node_type_base(bNodeType &ntype, UString idname, std::optional< int16_t > legacy_type=std::nullopt)
bool generic_attribute_type_supported(const EnumPropertyItem &item)
const EnumPropertyItem * attribute_type_type_with_socket_fn(bContext *, PointerRNA *, PropertyRNA *, bool *r_free)
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)
const EnumPropertyItem * grid_socket_type_items_filter_fn(bContext *, PointerRNA *, PropertyRNA *, bool *r_free)
const EnumPropertyItem * grid_data_type_socket_items_filter_fn(bContext *, PointerRNA *, PropertyRNA *, bool *r_free)
void node_geo_sdf_grid_error_not_levelset(GeoNodeExecParams ¶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 node_geo_exec_with_too_old_openvdb(GeoNodeExecParams ¶ms)
static bool geo_cmp_node_poll_default(const bke::bNodeType *, const bNodeTree *ntree, const char **r_disabled_hint)
bool geo_node_poll_default(const bke::bNodeType *, const bNodeTree *ntree, const char **r_disabled_hint)
const EnumPropertyItem rna_enum_volume_grid_data_type_items[]
const EnumPropertyItem rna_enum_attribute_type_items[]
bool node_insert_link_default(bke::NodeInsertLinkParams &)
const EnumPropertyItem rna_enum_node_socket_data_type_items[]
void geo_node_type_base(bke::bNodeType *ntype, UString idname, const std::optional< int16_t > legacy_type)
void geo_cmp_node_type_base(bke::bNodeType *ntype, UString idname, const std::optional< int16_t > legacy_type)
bool(*) poll(const bNodeType *ntype, const bNodeTree *nodetree, const char **r_disabled_hint)
NodeGatherSocketLinkOperationsFunction gather_link_search_ops
bool(*) insert_link(NodeInsertLinkParams ¶ms)
GeoNodesOperatorData * operator_data
const GeoNodesCallData * call_data