Revert "Fix geoset filtering using correct geosetId from M2 batch"

This reverts commit 45048757ef.
This commit is contained in:
Kelsi 2026-02-05 23:27:59 -08:00
parent 45048757ef
commit ec6c575894
3 changed files with 4 additions and 6 deletions

View file

@ -627,7 +627,6 @@ bool M2Loader::loadSkin(const std::vector<uint8_t>& skinData, M2Model& model) {
batch.textureUnit = db.textureCoordIndex;
batch.transparencyIndex = db.textureWeightIndex;
batch.textureAnimIndex = db.textureTransformIndex;
batch.geosetId = db.geosetIndex; // Geoset ID for filtering (from batch, not submesh)
// Look up proper vertex/index ranges from submesh
if (db.skinSectionIndex < submeshes.size()) {