internal void AppendFile(TextWriter append) { if (errors.Count == 0) { return; } lock (ExportCommand.fileWriterLock) { if (!ImportCommand.MissingLLSD(ObjectID)) { var ptc = ImportCommand.Importing.GetOldPrim(ObjectID); append.WriteLine("OBJ: " + ptc + " " + Obj); append.WriteLine("LOC: " + ptc.SimPosition); } else { var o = Obj; if (o != null) { append.WriteLine("OBJ: " + o); append.WriteLine("LOC: " + o.SimPosition); } } foreach (string error in errors) { append.WriteLine(" " + error); } } }
static public string IsComplete(UUID uuid, bool includeLink, bool includeTask, ImportSettings settings) { string whynotCOmplete = ""; if (ImportCommand.MissingLLSD(uuid)) { return("!llsd"); } if (includeLink && ImportCommand.MissingLINK(uuid)) { whynotCOmplete += "!link"; } if (ImportCommand.MissingTASK(uuid)) { return(whynotCOmplete += "!task"); } whynotCOmplete += PerfectTaskOSD(uuid, settings, true); return(whynotCOmplete); }