mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
Fix Uuid null comparison and dangling comma in Create tool
This commit is contained in:
parent
103f9e04fa
commit
bbdc7ba380
1 changed files with 3 additions and 3 deletions
|
@ -198,12 +198,12 @@ SelectionManager = (function() {
|
|||
// This is mostly a heuristic - there is no perfect way to know if an entity is being
|
||||
// grabbed.
|
||||
function nonDynamicEntityIsBeingGrabbedByAvatar(properties) {
|
||||
if (properties.dynamic || properties.parentID === null) {
|
||||
if (properties.dynamic || Uuid.isNull(properties.parentID)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
var avatar = AvatarList.getAvatar(properties.parentID);
|
||||
if (avatar.sessionUUID === null) {
|
||||
if (Uuid.isNull(avatar.sessionUUID)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -271,7 +271,7 @@ SelectionManager = (function() {
|
|||
|
||||
duplicatedEntityIDs.push({
|
||||
entityID: newEntityID,
|
||||
properties: properties,
|
||||
properties: properties
|
||||
});
|
||||
if (properties.parentID !== Uuid.NULL) {
|
||||
duplicatedChildrenWithOldParents[newEntityID] = properties.parentID;
|
||||
|
|
Loading…
Reference in a new issue