chore: remove hashIndex from t6 json material as it is always 0

This commit is contained in:
Jan
2025-07-05 13:27:49 +02:00
committed by Jan Laupetin
parent babfe7c884
commit 31d7ac26fe
6 changed files with 1 additions and 6 deletions
@@ -30,5 +30,6 @@ void AssetDumperMaterial::DumpAsset(AssetDumpingContext& context, XAssetInfo<Mat
const auto* material = asset->Asset();
assert(material->info.gameFlags < 0x8000);
assert(material->info.hashIndex == 0);
DumpMaterialAsJson(*assetFile, *material, context);
}
@@ -315,7 +315,6 @@ namespace
jMaterial.surfaceTypeBits = material.info.surfaceTypeBits;
#ifdef FEATURE_T6
jMaterial.layeredSurfaceTypes = material.info.layeredSurfaceTypes;
jMaterial.hashIndex = material.info.hashIndex;
jMaterial.surfaceFlags = material.info.surfaceFlags;
jMaterial.contents = material.info.contents;
#endif