[Bf-extensions-cvs] [71828a83] master: glTF exporter: restore comment deleted by error

Julien Duroure noreply at git.blender.org
Mon Dec 12 11:43:23 CET 2022


Commit: 71828a83e7d43da4d1a59b8a9dbe83a716bbef3b
Author: Julien Duroure
Date:   Mon Dec 12 11:43:18 2022 +0100
Branches: master
https://developer.blender.org/rBA71828a83e7d43da4d1a59b8a9dbe83a716bbef3b

glTF exporter: restore comment deleted by error

===================================================================

M	io_scene_gltf2/blender/exp/gltf2_blender_gather_primitives_extract.py

===================================================================

diff --git a/io_scene_gltf2/blender/exp/gltf2_blender_gather_primitives_extract.py b/io_scene_gltf2/blender/exp/gltf2_blender_gather_primitives_extract.py
index 27290e65..0b091a6a 100644
--- a/io_scene_gltf2/blender/exp/gltf2_blender_gather_primitives_extract.py
+++ b/io_scene_gltf2/blender/exp/gltf2_blender_gather_primitives_extract.py
@@ -573,7 +573,7 @@ class PrimitiveCreator:
                 data_dots_points = colors[self.dots_points['vertex_index']]
 
         del colors
-
+        # colors are already linear, no need to switch color space
         for i in range(4):
             self.dots[attr['gltf_attribute_name'] + str(i)] = data_dots[:, i]
             if self.export_settings['gltf_loose_edges'] and attr['blender_domain'] == "POINT":



More information about the Bf-extensions-cvs mailing list