Skip temp objects

This commit is contained in:
Casper Warden
2023-11-17 01:14:54 +00:00
parent b34bf6590c
commit b481ad59bb
2 changed files with 2 additions and 2 deletions

View File

@@ -1632,7 +1632,7 @@ export class RegionCommands extends CommandsBase
{
continue;
}
if (!options.includeTempObjects && (((obj.Flags ?? 0) & PrimFlags.Temporary) === PrimFlags.Temporary))
if (!options.includeTempObjects && (((obj.Flags ?? 0) & (PrimFlags.Temporary | PrimFlags.TemporaryOnRez)) !== 0))
{
continue;
}

View File

@@ -1,6 +1,6 @@
{
"name": "@caspertech/node-metaverse",
"version": "0.6.14",
"version": "0.6.15",
"description": "A node.js interface for Second Life.",
"main": "dist/lib/index.js",
"types": "dist/lib/index.d.ts",