Skip to content

Commit

Permalink
un-fixed the fix
Browse files Browse the repository at this point in the history
  • Loading branch information
manavortex committed May 6, 2024
1 parent fafd411 commit 145ae3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Scripts/Wolvenkit_FileValidation.wscript
Original file line number Diff line number Diff line change
Expand Up @@ -1641,8 +1641,8 @@ function meshFile_CheckMaterialProperties(material, materialName, materialIndex,

if (isUsingSubstitution && !isSoftDependency) {
Logger.Warning(`${materialInfo}: seems to be an ArchiveXL dynamic material, but the dependency is '${material.baseMaterial?.Flags}' instead of 'Soft'`);
} else if (!isUsingSubstitution && isSoftDependency && !currentMaterialName) {
Logger.Info(`${materialInfo} is using Flags.Soft, but doesn't seem to be dynamic. Consider using 'Default' instead`);
} else if (!isUsingSubstitution && isSoftDependency) {
Logger.Warning(`${materialInfo}: baseMaterial is using Flags.Soft, but doesn't contain substitutions. This will crash your game; use 'Default'!`);
} else if (isUsingSubstitution) {
baseMaterialPaths = getArchiveXlResolvedPaths(baseMaterial);
}
Expand Down

0 comments on commit 145ae3c

Please sign in to comment.