Skip to content

Commit

Permalink
fixed bigint serialization issue
Browse files Browse the repository at this point in the history
  • Loading branch information
manavortex committed May 3, 2024
1 parent 982cac8 commit 3e28b62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Scripts/Wolvenkit_FileValidation.wscript
Original file line number Diff line number Diff line change
Expand Up @@ -1816,7 +1816,7 @@ function meshFile_collectDynamicChunkMaterials(mesh) {
numAppearances = 0;
dynamicMaterials = {};
// null-safety
if (!mesh) return;
if (!mesh || typeof cnameOrString === 'bigint') return;

// it's not dynamic
if (!JSON.stringify(mesh).includes("@")) return;
Expand Down

0 comments on commit 3e28b62

Please sign in to comment.