mirror of
https://github.com/overte-org/overte.git
synced 2025-08-11 23:51:49 +02:00
initialize the local Entity filter at page load
initialize the local Entity filter at page load
This commit is contained in:
parent
79aafbcb26
commit
c61f21fd1d
2 changed files with 7 additions and 2 deletions
|
@ -438,7 +438,8 @@ var EntityListTool = function(shouldUseEditTabletApp, selectionManager) {
|
|||
emitJSONScriptEvent({
|
||||
"type": "loadedConfigSetting",
|
||||
"columnsData": columnsData,
|
||||
"defaultRadius": defaultRadius
|
||||
"defaultRadius": defaultRadius,
|
||||
"localEntityFilter": localEntityFilter
|
||||
});
|
||||
} else if (data.type === 'saveColumnsConfigSetting') {
|
||||
Settings.setValue(that.createApp.SETTING_EDITOR_COLUMNS_SETUP, data.columnsData);
|
||||
|
|
|
@ -1726,7 +1726,7 @@ function loaded() {
|
|||
elToggleSpaceMode.innerText = "World";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
const KEY_CODES = {
|
||||
BACKSPACE: 8,
|
||||
DELETE: 46
|
||||
|
@ -1867,6 +1867,10 @@ function loaded() {
|
|||
if (typeof(data.defaultRadius) === "number") {
|
||||
elFilterRadius.value = data.defaultRadius;
|
||||
onRadiusChange();
|
||||
if (data.localEntityFilter) {
|
||||
elLocalEntityFilter.className = "selLocalEntity glyph";
|
||||
localEntityFilter = true;
|
||||
}
|
||||
}
|
||||
if (data.columnsData !== "NO_DATA" && typeof(data.columnsData) === "object") {
|
||||
var isValid = true;
|
||||
|
|
Loading…
Reference in a new issue