mirror of
https://github.com/overte-org/overte.git
synced 2025-04-14 20:26:55 +02:00
fix for locked camera state issue
This commit is contained in:
parent
8cb771d9a8
commit
d726bd352d
1 changed files with 1 additions and 1 deletions
|
@ -188,11 +188,11 @@
|
||||||
});
|
});
|
||||||
Entities.deleteEntity(this.modelEntityID);
|
Entities.deleteEntity(this.modelEntityID);
|
||||||
photoboothCreated = false;
|
photoboothCreated = false;
|
||||||
|
Camera.mode = "first person";
|
||||||
};
|
};
|
||||||
|
|
||||||
function cleanup() {
|
function cleanup() {
|
||||||
tablet.removeButton(button);
|
tablet.removeButton(button);
|
||||||
Camera.mode = "first person";
|
|
||||||
PhotoBooth.destroy();
|
PhotoBooth.destroy();
|
||||||
}
|
}
|
||||||
Script.scriptEnding.connect(cleanup);
|
Script.scriptEnding.connect(cleanup);
|
||||||
|
|
Loading…
Reference in a new issue