public override void BulkAddPrimShapes(ICollection <BulkShapeData> shapeData, AddPrimShapeFlags flags) { Commands.BulkCreateObjectCmd createObjs = new Commands.BulkCreateObjectCmd(flags, shapeData); this.QueueCommand(createObjs); createObjs.FinishedEvent.Wait(); //wait for meshing and all prerequisites to complete createObjs.Dispose(); }
public override void BulkAddPrimShapes(ICollection<BulkShapeData> shapeData, AddPrimShapeFlags flags) { Commands.BulkCreateObjectCmd createObjs = new Commands.BulkCreateObjectCmd(flags, shapeData); this.QueueCommand(createObjs); createObjs.FinishedEvent.Wait(); //wait for meshing and all prerequisites to complete createObjs.Dispose(); }