remove non parameters from parameter list

This commit is contained in:
Saas
2026-02-14 18:56:58 +01:00
parent dd2e2c5b3a
commit 0870a86a3a

View File

@@ -723,6 +723,9 @@ namespace FlaxEditor.Surface
foreach (var param in ((IVisjectSurfaceWindow)Values[0]).VisjectSurface.Parameters)
{
string cleanParamName = param.Name.Replace(" ", "");
// Filter out headers and other non-parameter entries that can be present in the parameters list
if (string.IsNullOrEmpty(cleanParamName))
continue;
allParamNames += $"private const string {cleanParamName}ParameterName = \"{param.Name}\";\n";
}