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 | if (!_needsUpdateClusterMatrices) { | 35 | if (!_needsUpdateClusterMatrices) { |
| 36 | return; | 36 | return; |
| 37 | } | 37 | } |
| 38 | if (!isLoaded()) { | ||
| 39 | return; | ||
| 40 | } | ||
| 41 | |||
| 38 | _needsUpdateClusterMatrices = false; | 42 | _needsUpdateClusterMatrices = false; |
| 39 | 43 | ||
| 40 | const FBXGeometry& geometry = getFBXGeometry(); | 44 | const FBXGeometry& geometry = getFBXGeometry(); |