mirror of
https://github.com/overte-org/overte.git
synced 2025-04-07 22:33:04 +02:00
Merge pull request #10966 from sethalves/fix-softattachment-crash
avoid crash in soft-attachment code
This commit is contained in:
commit
b35d696077
1 changed files with 4 additions and 0 deletions
|
@ -35,6 +35,10 @@ void SoftAttachmentModel::updateClusterMatrices() {
|
|||
if (!_needsUpdateClusterMatrices) {
|
||||
return;
|
||||
}
|
||||
if (!isLoaded()) {
|
||||
return;
|
||||
}
|
||||
|
||||
_needsUpdateClusterMatrices = false;
|
||||
|
||||
const FBXGeometry& geometry = getFBXGeometry();
|
||||
|
|
Loading…
Reference in a new issue