Skip to content

Commit 7a75426

Browse files
committed
Merge branch 'dev' into 1.x
2 parents c195f2c + 425d3e6 commit 7a75426

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Editor/Helper/Helper.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ public static void SelectShaderKeyword(Object[] materials, string[] keywordNames
6060
{
6161
SetShaderKeywordEnabled(materials, keywordNames[i], index == i);
6262
}
63+
64+
// Force set the currently selected Keyword
65+
SetShaderKeywordEnabled(materials, keywordNames[index], true);
6366
}
6467

6568
public static void SetShaderPassEnabled(Object[] materials, string[] lightModeNames, bool enabled)

0 commit comments

Comments
 (0)