Rig: removed unnecessary emitOnLoadComplete method

This commit is contained in:
Anthony J. Thibault 2016-04-18 13:35:13 -07:00
parent dc92ccc2b2
commit 1f383680aa
2 changed files with 1 additions and 2 deletions
libraries/animation/src

View file

@ -1161,7 +1161,7 @@ void Rig::initAnimGraph(const QUrl& url) {
overrideAnimation(origState.url, origState.fps, origState.loop, origState.firstFrame, origState.lastFrame);
}
emitOnLoadComplete();
emit onLoadComplete();
});
connect(_animLoader.get(), &AnimNodeLoader::error, [url](int error, QString str) {
qCCritical(animation) << "Error loading" << url.toDisplayString() << "code = " << error << "str =" << str;

View file

@ -228,7 +228,6 @@ signals:
void onLoadComplete();
protected:
void emitOnLoadComplete() { emit onLoadComplete(); }
bool isIndexValid(int index) const { return _animSkeleton && index >= 0 && index < _animSkeleton->getNumJoints(); }
void updateAnimationStateHandlers();
void applyOverridePoses();