Skip to content

Commit

Permalink
checking for embedded files in CKEyValuePairs now
Browse files Browse the repository at this point in the history
  • Loading branch information
manavortex committed Nov 27, 2023
1 parent e11dd68 commit 2670395
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Scripts/Wolvenkit_FileValidation.wscript
Original file line number Diff line number Diff line change
Expand Up @@ -1335,7 +1335,10 @@ function validateMaterialKeyValuePair(key, materialValue, info, validateRecursiv
}
break;
}

if ((materialValue.Flags || '').includes('Embedded')) {
Logger.Warning(`${info} is set to Embedded. This might not work as you expect it.`);
}

// Once we've made sure that the file extension is correct, check if the file exists.
checkDepotPath(materialDepotPath, info);
}
Expand Down

0 comments on commit 2670395

Please sign in to comment.