1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-10-06 09:07:19 +02:00

Update hierarchy transforms for new frame children

This commit is contained in:
Daniel Evans 2018-01-27 18:09:33 +00:00
parent 7743626acb
commit 6780be6fff

View File

@ -50,6 +50,7 @@ void ModelFrame::addChild(ModelFramePtr child) {
}
child->parent_ = this;
children_.push_back(child);
child->updateHierarchyTransform();
}
ModelFrame* ModelFrame::findDescendant(const std::string& name) const {