Skip to content
Snippets Groups Projects
Commit 32a4a114 authored by Jinglin Li's avatar Jinglin Li
Browse files

PEP8

parent adcd3d69
No related branches found
No related tags found
No related merge requests found
...@@ -75,15 +75,15 @@ class BlenderRender(): ...@@ -75,15 +75,15 @@ class BlenderRender():
output_file.inputs['Image'] output_file.inputs['Image']
) )
if bpy.app.version < (2,79,0): if bpy.app.version < (2,79,0):
scene.node_tree.links.new( scene.node_tree.links.new(
render_layers.outputs['Z'], render_layers.outputs['Z'],
output_file.inputs['Depth'] output_file.inputs['Depth']
) )
else: else:
scene.node_tree.links.new( scene.node_tree.links.new(
render_layers.outputs['Depth'], render_layers.outputs['Depth'],
output_file.inputs['Depth'] output_file.inputs['Depth']
) )
self.tmp_fileoutput = tmp_fileoutput self.tmp_fileoutput = tmp_fileoutput
@property @property
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment