mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 16:55:07 +02:00
CR changes
This commit is contained in:
parent
249ebb2389
commit
dff4e34e7b
1 changed files with 4 additions and 4 deletions
|
@ -2223,7 +2223,7 @@ var PropertiesTool = function (opts) {
|
|||
// are selected or if no entity is selected this will be `null`.
|
||||
var currentSelectedEntityID = null;
|
||||
var statusMonitor = null;
|
||||
var nextPropertyUpdateDisabled = false;
|
||||
var blockPropertyUpdates = false;
|
||||
|
||||
that.setVisible = function (newVisible) {
|
||||
visible = newVisible;
|
||||
|
@ -2261,8 +2261,7 @@ var PropertiesTool = function (opts) {
|
|||
};
|
||||
|
||||
function updateSelections(selectionUpdated) {
|
||||
if (nextPropertyUpdateDisabled) {
|
||||
nextPropertyUpdateDisabled = false;
|
||||
if (blockPropertyUpdates) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -2362,8 +2361,9 @@ var PropertiesTool = function (opts) {
|
|||
}
|
||||
}
|
||||
pushCommandForSelections();
|
||||
nextPropertyUpdateDisabled = data.blockUpdateCallback === true;
|
||||
blockPropertyUpdates = data.blockUpdateCallback === true;
|
||||
selectionManager._update(false, this);
|
||||
blockPropertyUpdates = false;
|
||||
} else if (data.type === 'saveUserData' || data.type === 'saveMaterialData') {
|
||||
//the event bridge and json parsing handle our avatar id string differently.
|
||||
var actualID = data.id.split('"')[1];
|
||||
|
|
Loading…
Reference in a new issue