Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -128,8 +128,8 @@ def create_scene():
|
|
128 |
##tex_environment = world.node_tree.nodes.new('ShaderNodeTexEnvironment')
|
129 |
##tex_environment.image = img
|
130 |
##world = bpy.context.scene.world
|
131 |
-
tx_node = world.node_tree.nodes['Background']
|
132 |
-
world.node_tree.links.new(tex_environment.outputs[0], tx_node.inputs[0])
|
133 |
|
134 |
##img = bpy.data.images.load(image_path)
|
135 |
|
|
|
128 |
##tex_environment = world.node_tree.nodes.new('ShaderNodeTexEnvironment')
|
129 |
##tex_environment.image = img
|
130 |
##world = bpy.context.scene.world
|
131 |
+
##tx_node = world.node_tree.nodes['Background']
|
132 |
+
##world.node_tree.links.new(tex_environment.outputs[0], tx_node.inputs[0])
|
133 |
|
134 |
##img = bpy.data.images.load(image_path)
|
135 |
|