1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-25 03:42:48 +01: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; child->parent_ = this;
children_.push_back(child); children_.push_back(child);
child->updateHierarchyTransform();
} }
ModelFrame* ModelFrame::findDescendant(const std::string& name) const { ModelFrame* ModelFrame::findDescendant(const std::string& name) const {