Rename Node->NiAVObject and update everything directly related

Update NiNode
Simplify RootCollisionNode handling in BulletNifLoader
This commit is contained in:
Alexei Kotov 2023-09-10 05:23:25 +03:00
parent 878d4ddaa7
commit a7cc4e6ba6
15 changed files with 310 additions and 367 deletions

View file

@ -308,7 +308,7 @@ namespace Nif
{
NiInterpController::read(nif);
size_t numTargets = nif->getUShort();
std::vector<NodePtr> targets;
std::vector<NiAVObjectPtr> targets;
targets.resize(numTargets);
for (size_t i = 0; i < targets.size(); i++)
targets[i].read(nif);