mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
Removed duplicate function
This commit is contained in:
parent
cb4d9586fe
commit
93743538af
1 changed files with 0 additions and 19 deletions
|
@ -470,25 +470,6 @@ var toolBar = (function () {
|
|||
}
|
||||
}
|
||||
|
||||
// Handles any edit mode updates required when domains have switched
|
||||
function checkEditPermissionsAndUpdate() {
|
||||
if ((createButton === null) || (createButton === undefined)) {
|
||||
//--EARLY EXIT--( nothing to safely update )
|
||||
return;
|
||||
}
|
||||
|
||||
var hasRezPermissions = (Entities.canRez() || Entities.canRezTmp() || Entities.canRezCertified() || Entities.canRezTmpCertified());
|
||||
createButton.editProperties({
|
||||
icon: (hasRezPermissions ? CREATE_ENABLED_ICON : CREATE_DISABLED_ICON),
|
||||
captionColor: (hasRezPermissions ? "#ffffff" : "#888888"),
|
||||
});
|
||||
|
||||
if (!hasRezPermissions && isActive) {
|
||||
that.setActive(false);
|
||||
tablet.gotoHomeScreen();
|
||||
}
|
||||
}
|
||||
|
||||
var entitiesToDelete = [];
|
||||
var deletedEntityTimer = null;
|
||||
var DELETE_ENTITY_TIMER_TIMEOUT = 100;
|
||||
|
|
Loading…
Reference in a new issue