Commit: 997e143a50b8ba26bb3cd2c5ae3b982f7b6d466b Author: Campbell Barton Date: Mon Dec 5 12:53:56 2022 +1100 Branches: master https://developer.blender.org/rB997e143a50b8ba26bb3cd2c5ae3b982f7b6d466b
Cleanup: quiet compiler warnings =================================================================== M source/blender/editors/interface/interface_templates.cc M source/blender/nodes/geometry/node_geometry_tree.cc =================================================================== diff --git a/source/blender/editors/interface/interface_templates.cc b/source/blender/editors/interface/interface_templates.cc index e4fdd431567..28b7059ebdf 100644 --- a/source/blender/editors/interface/interface_templates.cc +++ b/source/blender/editors/interface/interface_templates.cc @@ -401,7 +401,7 @@ static bool id_search_add(const bContext *C, TemplateID *template_ui, uiSearchIt name_ui, id, iconid, - has_sep_char ? UI_BUT_HAS_SEP_CHAR : 0, + has_sep_char ? int(UI_BUT_HAS_SEP_CHAR) : 0, name_prefix_offset)) { return false; } diff --git a/source/blender/nodes/geometry/node_geometry_tree.cc b/source/blender/nodes/geometry/node_geometry_tree.cc index 1339024b776..dbdbf1e616d 100644 --- a/source/blender/nodes/geometry/node_geometry_tree.cc +++ b/source/blender/nodes/geometry/node_geometry_tree.cc @@ -24,6 +24,8 @@ #include "node_common.h" +#include "node_geometry_register.hh" + bNodeTreeType *ntreeType_Geometry; static void geometry_node_tree_get_from_context( _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org List details, subscription details or unsubscribe: https://lists.blender.org/mailman/listinfo/bf-blender-cvs