diff options
Diffstat (limited to 'io_scene_x3d/import_x3d.py')
-rw-r--r-- | io_scene_x3d/import_x3d.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/io_scene_x3d/import_x3d.py b/io_scene_x3d/import_x3d.py index ffd1a3e0..92257211 100644 --- a/io_scene_x3d/import_x3d.py +++ b/io_scene_x3d/import_x3d.py @@ -2717,7 +2717,7 @@ def appearance_CreateMaterial(vrmlname, mat, ancestry, is_vcol): bpymat.alpha = 1.0 - mat.getFieldAsFloat('transparency', 0.0, ancestry) if bpymat.alpha < 0.999: bpymat.use_transparency = True - if is_vcol: + if False and is_vcol: bpymat.use_vertex_color_paint = True return bpymat @@ -2869,10 +2869,10 @@ def appearance_Create(vrmlname, material, tex_node, ancestry, node, is_vcol): if tex_node: # Texture caching inside there bpyima = appearance_LoadTexture(tex_node, ancestry, node) - if 0 & is_vcol: + if False and is_vcol: bpymat.use_vertex_color_paint = True - if 0 and bpyima: + if False and bpyima: tex_has_alpha = bpyima.alpha_mode not in {'NONE', 'CHANNEL_PACKED'} texture = bpy.data.textures.new(bpyima.name, 'IMAGE') |