Fixed bug in PsychoBlend.
On some systems Python would complain about the "progress" variable being accessed without it existing yet. Weird. But this fixes it.
This commit is contained in:
parent
7ef5846c89
commit
06b76ddb6c
|
@ -134,6 +134,7 @@ class PsychopathRender(bpy.types.RenderEngine):
|
|||
# Update render progress bar
|
||||
output += self._process.stdout.read1(2**16)
|
||||
outputs = output.rsplit(b'\r')
|
||||
progress = 0.0
|
||||
if len(outputs) > 0 and outputs[-1][-1] == b"%"[0]:
|
||||
try:
|
||||
progress = float(outputs[-1][:-1])
|
||||
|
|
Loading…
Reference in New Issue
Block a user