john melesky 9 месяцев назад
Родитель
Сommit
945e1e024c
1 измененных файлов с 0 добавлено и 11 удалено
  1. 0 11
      scripts/deep_computer_overclocked.py

+ 0 - 11
scripts/deep_computer_overclocked.py

@@ -134,17 +134,6 @@ box_faces = [
     (4,5,3,1), # top: front_top_left, front_top_right, back_top_right, back_top_left
 ]
 
-# box_mat = bpy.data.materials.new('MyBoxMaterial')
-# box_mat.use_nodes = True
-
-# if box_mat.node_tree:
-#     box_mat.node_tree.links.clear()
-#     box_mat.node_tree.nodes.clear()
-
-# box_output = box_mat.node_tree.nodes.new(type='ShaderNodeOutputMaterial')
-# box_shader = box_mat.node_tree.nodes.new(type='ShaderNodeBsdfDiffuse')
-# box_mat.node_tree.nodes['Diffuse BSDF'].inputs[0].default_value = (.125, .179, .263, 1)
-# box_mat.node_tree.links.new(box_shader.outputs[0], box_output.inputs[0])
 
 box_mesh = bpy.data.meshes.new('MyComputerBoxMesh')
 box_mesh.from_pydata(box_vertices, [], box_faces)