diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-12-01 01:58:31 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-12-01 02:43:38 +0300 |
commit | 1d91e8c12a25618c308fcd25108bf36af0f27094 (patch) | |
tree | 362f198e4a2d891cffdcd38d9b8c8463cc160c65 /real_snow.py | |
parent | 7aa99631512454831c639353bb1ed9886a7d0694 (diff) |
Cleanup: trailing space & tabs to spaces
Diffstat (limited to 'real_snow.py')
-rw-r--r-- | real_snow.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/real_snow.py b/real_snow.py index 8f1b9ffd..c0c51aeb 100644 --- a/real_snow.py +++ b/real_snow.py @@ -238,13 +238,13 @@ def add_material(obj: bpy.types.Object): mat_name = "Snow" # If material doesn't exist, create it if mat_name in bpy.data.materials: - bpy.data.materials[mat_name].name = mat_name+".001" + bpy.data.materials[mat_name].name = mat_name+".001" mat = bpy.data.materials.new(mat_name) mat.use_nodes = True nodes = mat.node_tree.nodes # Delete all nodes for node in nodes: - nodes.remove(node) + nodes.remove(node) # Add nodes output = nodes.new('ShaderNodeOutputMaterial') principled = nodes.new('ShaderNodeBsdfPrincipled') |