PsychoBlend: fixed silly copy/paste bug.
This commit is contained in:
parent
7236d2e666
commit
914a13f899
|
@ -230,7 +230,7 @@ class RectLamp:
|
|||
def take_sample(self, render_engine, scene, time):
|
||||
render_engine.update_stats("", "Psychopath: Collecting '{}' at time {}".format(self.ob.name, time))
|
||||
self.time_col += [self.ob.data.color * self.ob.data.energy]
|
||||
if ob.data.shape == 'RECTANGLE':
|
||||
if self.ob.data.shape == 'RECTANGLE':
|
||||
self.time_dim += [(self.ob.data.size, self.ob.data.size_y)]
|
||||
else:
|
||||
self.time_dim += [(self.ob.data.size, self.ob.data.size)]
|
||||
|
|
|
@ -152,7 +152,7 @@ class PsychoExporter:
|
|||
self.w.indent();
|
||||
self.w.write("Type [Color]\n")
|
||||
self.w.write("Color [%f %f %f]\n" % (world.horizon_color[0], world.horizon_color[1], world.horizon_color[2]))
|
||||
self.w.unindent();
|
||||
self.w.unindent()
|
||||
self.w.write("}\n")
|
||||
|
||||
# Infinite light sources
|
||||
|
|
|
@ -90,7 +90,7 @@ class PsychopathRender(bpy.types.RenderEngine):
|
|||
try:
|
||||
self._render(scene)
|
||||
except:
|
||||
if self.process != None:
|
||||
if self._process != None:
|
||||
self._process.terminate()
|
||||
raise
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user