History

rename setJointStates() --> initJointStates()

Andrew Meadows committed 11 years ago

Commit 79cb55e1 parent c4395e74 files · +8 −7Browse files

Showing the changes to libraries/render-utils/src/Model.cpp (1 of 4 files). Show all

Unified · Split

libraries/render-utils/src/Model.cpp+3−3
@@ -426,12 +426,12 @@ bool Model::updateGeometry() { · 425 unmodified lines
426426 _dilatedTextures.clear();
427427 _geometry = geometry;
428428 _meshGroupsKnown = false;
429− setJointStates(newJointStates);
429+ initJointStates(newJointStates);
430430 needToRebuild = true;
431431 } else if (_jointStates.isEmpty()) {
432432 const FBXGeometry& fbxGeometry = geometry->getFBXGeometry();
433433 if (fbxGeometry.joints.size() > 0) {
434− setJointStates(createJointStates(fbxGeometry));
434+ initJointStates(createJointStates(fbxGeometry));
435435 needToRebuild = true;
436436 }
437437 } else if (!geometry->isLoaded()) {
@@ -469,7 +469,7 @@ bool Model::updateGeometry() { · 31 unmodified lines
469469 }
470470
471471 // virtual
472−void Model::setJointStates(QVector<JointState> states) {
472+void Model::initJointStates(QVector<JointState> states) {
473473 _jointStates = states;
474474 initJointTransforms();
475475

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