mirror of
https://github.com/overte-org/overte.git
synced 2025-04-23 15:53:35 +02:00
Rig: removed unnecessary emitOnLoadComplete method
This commit is contained in:
parent
dc92ccc2b2
commit
1f383680aa
2 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue