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
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();

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