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:
parent
7743626acb
commit
6780be6fff
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user