Showing the changes to libraries/render-utils/src/SoftAttachmentModel.cpp (1 of 1 file). Show all
Unified · Split
| @@ -35,6 +35,10 @@ void SoftAttachmentModel::updateClusterMatrices() { · 34 unmodified lines | ||
| 35 | 35 | if (!_needsUpdateClusterMatrices) { |
| 36 | 36 | return; |
| 37 | 37 | } |
| 38 | + if (!isLoaded()) { | |
| 39 | + return; | |
| 40 | + } | |
| 41 | + | |
| 38 | 42 | _needsUpdateClusterMatrices = false; |
| 39 | 43 | |
| 40 | 44 | const FBXGeometry& geometry = getFBXGeometry(); |