History

don't do SoftAttachmentModel::updateClusterMatrices if geometry isn't ready

Seth Alves committed 9 years ago

Commit 12f52e81 parent 4f755581 file · +4 −0Browse files

Showing the changes to libraries/render-utils/src/SoftAttachmentModel.cpp (1 of 1 file). Show all

Unified · Split

libraries/render-utils/src/SoftAttachmentModel.cpp+4−0
@@ -35,6 +35,10 @@ void SoftAttachmentModel::updateClusterMatrices() { · 34 unmodified lines
3535 if (!_needsUpdateClusterMatrices) {
3636 return;
3737 }
38+ if (!isLoaded()) {
39+ return;
40+ }
41+
3842 _needsUpdateClusterMatrices = false;
3943
4044 const FBXGeometry& geometry = getFBXGeometry();

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t