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:
-rw-r--r--io_scene_x3d/import_x3d.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/io_scene_x3d/import_x3d.py b/io_scene_x3d/import_x3d.py
index 5d681a96..92189372 100644
--- a/io_scene_x3d/import_x3d.py
+++ b/io_scene_x3d/import_x3d.py
@@ -1622,8 +1622,10 @@ def importMesh_ApplyColors(bpymesh, geom, ancestry):
elif len(rgb) == len(bpymesh.loops):
rgb = tuple(chain(*rgb))
else:
- printf("WARNING not applying vertex colors, non matching numbers of vertices or loops (%d vs %d/%d)"
- "" % (len(rgb), len(bpymesh.vertices), len(bpymesh.loops)))
+ print(
+ "WARNING not applying vertex colors, non matching numbers of vertices or loops (%d vs %d/%d)" %
+ (len(rgb), len(bpymesh.vertices), len(bpymesh.loops))
+ )
return
lcol_layer.data.foreach_set("color", rgb)