Cleanup: quiet compiler warnings

This commit is contained in:
Campbell Barton 2022-12-05 12:53:56 +11:00
parent 9719fd6964
commit 997e143a50
2 changed files with 3 additions and 1 deletions

View File

@ -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;
}

View File

@ -24,6 +24,8 @@
#include "node_common.h"
#include "node_geometry_register.hh"
bNodeTreeType *ntreeType_Geometry;
static void geometry_node_tree_get_from_context(