mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 23:09:52 +02:00
Fixed a bug in Polaroid canRez listener
This commit is contained in:
parent
7ade5b07a6
commit
fa726f43a6
1 changed files with 2 additions and 4 deletions
|
@ -717,8 +717,6 @@ function processRezPermissionChange(canRez) {
|
||||||
action = 'setPrintButtonDisabled';
|
action = 'setPrintButtonDisabled';
|
||||||
}
|
}
|
||||||
|
|
||||||
print(action);
|
|
||||||
|
|
||||||
tablet.emitScriptEvent(JSON.stringify({
|
tablet.emitScriptEvent(JSON.stringify({
|
||||||
type: "snapshot",
|
type: "snapshot",
|
||||||
action : action
|
action : action
|
||||||
|
@ -733,8 +731,8 @@ tablet.screenChanged.connect(onTabletScreenChanged);
|
||||||
GlobalServices.myUsernameChanged.connect(onUsernameChanged);
|
GlobalServices.myUsernameChanged.connect(onUsernameChanged);
|
||||||
Snapshot.snapshotLocationSet.connect(snapshotLocationSet);
|
Snapshot.snapshotLocationSet.connect(snapshotLocationSet);
|
||||||
|
|
||||||
Entities.canRezChanged.connect(processRezPermissionChange);
|
Entities.canRezChanged.connect(updatePrintPermissions);
|
||||||
Entities.canRezTmpChanged.connect(processRezPermissionChange);
|
Entities.canRezTmpChanged.connect(updatePrintPermissions);
|
||||||
|
|
||||||
Script.scriptEnding.connect(function () {
|
Script.scriptEnding.connect(function () {
|
||||||
if (buttonConnected) {
|
if (buttonConnected) {
|
||||||
|
|
Loading…
Reference in a new issue