History

rename setJointStates() --> initJointStates()

Andrew Meadows committed 11 years ago

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

Showing the changes to interface/src/avatar/SkeletonModel.cpp (1 of 4 files). Show all

Unified · Split

interface/src/avatar/SkeletonModel.cpp+3−2
@@ -40,13 +40,14 @@ SkeletonModel::SkeletonModel(Avatar* owningAvatar, QObject* parent) : · 39 unmodified lines
40 _clampedFootPosition(0.0f),40 _clampedFootPosition(0.0f),
41 _headClipDistance(DEFAULT_NEAR_CLIP)41 _headClipDistance(DEFAULT_NEAR_CLIP)
42{42{
43 assert(_owningAvatar);
43}44}
44 45
45SkeletonModel::~SkeletonModel() {46SkeletonModel::~SkeletonModel() {
46}47}
47 48
48void SkeletonModel::setJointStates(QVector<JointState> states) {49void SkeletonModel::initJointStates(QVector<JointState> states) {
49 Model::setJointStates(states);50 Model::initJointStates(states);
50 51
51 // Determine the default eye position for avatar scale = 1.052 // Determine the default eye position for avatar scale = 1.0
52 int headJointIndex = _geometry->getFBXGeometry().headJointIndex;53 int headJointIndex = _geometry->getFBXGeometry().headJointIndex;

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