mirror of
https://github.com/overte-org/overte.git
synced 2025-04-12 09:42:11 +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';
|
||||
}
|
||||
|
||||
print(action);
|
||||
|
||||
tablet.emitScriptEvent(JSON.stringify({
|
||||
type: "snapshot",
|
||||
action : action
|
||||
|
@ -733,8 +731,8 @@ tablet.screenChanged.connect(onTabletScreenChanged);
|
|||
GlobalServices.myUsernameChanged.connect(onUsernameChanged);
|
||||
Snapshot.snapshotLocationSet.connect(snapshotLocationSet);
|
||||
|
||||
Entities.canRezChanged.connect(processRezPermissionChange);
|
||||
Entities.canRezTmpChanged.connect(processRezPermissionChange);
|
||||
Entities.canRezChanged.connect(updatePrintPermissions);
|
||||
Entities.canRezTmpChanged.connect(updatePrintPermissions);
|
||||
|
||||
Script.scriptEnding.connect(function () {
|
||||
if (buttonConnected) {
|
||||
|
|
Loading…
Reference in a new issue