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
4040 _clampedFootPosition(0.0f),
4141 _headClipDistance(DEFAULT_NEAR_CLIP)
4242 {
43+ assert(_owningAvatar);
4344 }
4445
4546 SkeletonModel::~SkeletonModel() {
4647 }
4748
48−void SkeletonModel::setJointStates(QVector<JointState> states) {
49− Model::setJointStates(states);
49+void SkeletonModel::initJointStates(QVector<JointState> states) {
50+ Model::initJointStates(states);
5051
5152 // Determine the default eye position for avatar scale = 1.0
5253 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