def end_interactive(self): self.is_interactive = False self.is_interactive_running = False self.edit_num += 1 self.ri.ArchiveRecord("structure", self.ri.STREAMMARKER + "%d" % self.edit_num) prman.RicFlush("%d" % self.edit_num, 0, self.ri.SUSPENDRENDERING) self.ri.EditWorldEnd() self.ri.End() self.material_dict = {} self.lights = {} pass
def end_interactive(self): self.is_interactive = False if self.is_prman_running(): self.edit_num += 1 # output a flush to stop rendering. self.ri.ArchiveRecord( "structure", self.ri.STREAMMARKER + "%d" % self.edit_num) prman.RicFlush("%d" % self.edit_num, 0, self.ri.SUSPENDRENDERING) self.ri.EditWorldEnd() self.ri.End() self.material_dict = {} self.lights = {} self.light_filter_map = {} self.instance_dict = {} pass