Skip to content

Commit 429dc09

Browse files
committed
Fix #144362: Match string node crash after recent change
Caused by 76a861a That commit used the wrong order internally for the "Operation" input.
1 parent f1fb717 commit 429dc09

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/blender/nodes/function/nodes/node_fn_match_string.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ static void node_declare(NodeDeclarationBuilder &b)
4545

4646
static void node_build_multi_function(NodeMultiFunctionBuilder &builder)
4747
{
48-
static auto fn = mf::build::SI3_SO<std::string, std::string, int, bool>(
49-
"Starts With", [](const std::string &a, const std::string &b, const int mode) {
48+
static auto fn = mf::build::SI3_SO<std::string, int, std::string, bool>(
49+
"Starts With", [](const std::string &a, const int mode, const std::string &b) {
5050
const StringRef strref_a(a);
5151
const StringRef strref_b(b);
5252
switch (MatchStringOperation(mode)) {

0 commit comments

Comments
 (0)