mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-10-04 19:35:34 +00:00
chore: remove hashIndex from t6 json material as it is always 0
This commit is contained in:
1 parent
babfe7c884
commit
31d7ac26fe
6 files changed
+1
-6
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user