mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 22:19:54 +00:00
Add 'tri ' variant of part filters to optimizer ignore list
This commit is contained in:
parent
48e0f098ff
commit
585524805f
1 changed files with 3 additions and 0 deletions
|
@ -388,6 +388,9 @@ namespace Resource
|
||||||
"Bip01 L Hand", "Bip01 R Hand", "Bip01 Head", "Bip01 Spine1", "Bip01 Spine2", "Bip01 L Clavicle", "Bip01 R Clavicle", "bip01", "Root Bone", "Bip01 Neck",
|
"Bip01 L Hand", "Bip01 R Hand", "Bip01 Head", "Bip01 Spine1", "Bip01 Spine2", "Bip01 L Clavicle", "Bip01 R Clavicle", "bip01", "Root Bone", "Bip01 Neck",
|
||||||
"BoneOffset", "AttachLight", "ArrowBone", "Camera"};
|
"BoneOffset", "AttachLight", "ArrowBone", "Camera"};
|
||||||
reservedNames = std::set<std::string, Misc::StringUtils::CiComp>(reserved, reserved + sizeof(reserved)/sizeof(reserved[0]));
|
reservedNames = std::set<std::string, Misc::StringUtils::CiComp>(reserved, reserved + sizeof(reserved)/sizeof(reserved[0]));
|
||||||
|
|
||||||
|
for (unsigned int i=0; i<sizeof(reserved)/sizeof(reserved[0]); ++i)
|
||||||
|
reservedNames.insert(std::string("Tri ") + reserved[i]);
|
||||||
}
|
}
|
||||||
return reservedNames.find(name) != reservedNames.end();
|
return reservedNames.find(name) != reservedNames.end();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue