Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2021-12-01 01:58:31 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-12-01 02:43:38 +0300
commit1d91e8c12a25618c308fcd25108bf36af0f27094 (patch)
tree362f198e4a2d891cffdcd38d9b8c8463cc160c65 /io_scene_x3d
parent7aa99631512454831c639353bb1ed9886a7d0694 (diff)
Cleanup: trailing space & tabs to spaces
Diffstat (limited to 'io_scene_x3d')
-rw-r--r--io_scene_x3d/import_x3d.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/io_scene_x3d/import_x3d.py b/io_scene_x3d/import_x3d.py
index df5fbb46..6ca3ffc8 100644
--- a/io_scene_x3d/import_x3d.py
+++ b/io_scene_x3d/import_x3d.py
@@ -2738,7 +2738,7 @@ def appearance_CreateMaterial(vrmlname, mat, ancestry, is_vcol):
if alpha < 1.0:
bpymat.blend_method = "BLEND"
bpymat.shadow_method = "HASHED"
-
+
# NOTE - leaving this disabled for now
if False and is_vcol:
node_vertex_color = bpymat.node_tree.nodes.new("ShaderNodeVertexColor")
@@ -2748,7 +2748,7 @@ def appearance_CreateMaterial(vrmlname, mat, ancestry, is_vcol):
bpymat_wrap.node_principled_bsdf.inputs["Base Color"],
node_vertex_color.outputs["Color"]
)
-
+
return bpymat_wrap
@@ -2769,7 +2769,7 @@ def appearance_CreateDefaultMaterial():
#bpymat.specular_hardness = 103
# 0-1 -> 1-511
#bpymat.specular_color = (0, 0, 0)
-
+
bpymat_wrap.alpha = 1.0
return bpymat_wrap
@@ -2902,7 +2902,7 @@ def appearance_Create(vrmlname, material, tex_node, ancestry, node, is_vcol):
repeatT = tex_node.getFieldAsBool('repeatT', True, ancestry)
bpymat_wrap.base_color_texture.image = bpyima
-
+
# NOTE - not possible to handle x and y tiling individually.
extension = "REPEAT" if repeatS or repeatT else "CLIP"
bpymat_wrap.base_color_texture.extension = extension