mirror of
https://github.com/overte-org/overte.git
synced 2025-07-23 14:44:01 +02:00
Merge pull request #5961 from ZappoMan/fixScriptStopAgentCrash
possible fix for crashing agents acting like avatars
This commit is contained in:
commit
23b057cbb2
1 changed files with 1 additions and 0 deletions
|
@ -364,6 +364,7 @@ void Agent::processAgentAvatarAndAudio(float deltaTime) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void Agent::aboutToFinish() {
|
void Agent::aboutToFinish() {
|
||||||
|
setIsAvatar(false);// will stop timers for sending billboards and identity packets
|
||||||
if (_scriptEngine) {
|
if (_scriptEngine) {
|
||||||
_scriptEngine->stop();
|
_scriptEngine->stop();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue