Formatting fixes

This commit is contained in:
Casper Warden
2020-11-20 12:46:44 +00:00
parent 68eaf3f652
commit f05d823987
2 changed files with 8 additions and 3 deletions

View File

@@ -142,7 +142,7 @@ export class ObjectStoreFull extends ObjectStoreLite implements IObjectStore
if (parent !== this.agent.localID)
{
let foundAvatars = false;
for(const objID of this.objectsByParent[parent])
for (const objID of this.objectsByParent[parent])
{
if (this.objects[objID])
{
@@ -198,7 +198,11 @@ export class ObjectStoreFull extends ObjectStoreLite implements IObjectStore
this.insertIntoRtree(obj);
if (objData.ParentID !== undefined && objData.ParentID !== 0 && !this.objects[objData.ParentID])
{
this.requestMissingObject(objData.ParentID).then(() => {}).catch(() => {});
this.requestMissingObject(objData.ParentID).then(() =>
{
}).catch(() =>
{
});
}
this.notifyObjectUpdate(newObject, obj);
obj.onTextureUpdate.next();

View File

@@ -632,7 +632,8 @@ export class RegionCommands extends CommandsBase
try
{
Logger.Info('Setting texture entry');
await object.setTextureEntry(obj.TextureEntry).then(() => {}).catch((err) => {
await object.setTextureEntry(obj.TextureEntry).then(() => {}).catch((err) =>
{
console.error(err);
});
}