mirror of
https://github.com/rwengine/openrw.git
synced 2024-11-22 18:32:44 +01:00
Fix root frame index bug
This commit is contained in:
parent
55742a4e11
commit
e060b6d0b1
@ -33,7 +33,7 @@ Model* LoaderDFF::loadFromMemory(char *data, GameData *gameData)
|
|||||||
parent = model->frames[rawframe.index];
|
parent = model->frames[rawframe.index];
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
model->rootFrameIdx = 0;
|
model->rootFrameIdx = f;
|
||||||
}
|
}
|
||||||
model->frames.push_back(
|
model->frames.push_back(
|
||||||
new ModelFrame(parent, rawframe.rotation, rawframe.position)
|
new ModelFrame(parent, rawframe.rotation, rawframe.position)
|
||||||
|
Loading…
Reference in New Issue
Block a user