2
0
Эх сурвалжийг харах

Merge pull request #6184 from repsac/io_three

Fixed a bug by inverting the conditional results around embed geometry tests
Mr.doob 10 жил өмнө
parent
commit
a8c69608ec

+ 1 - 1
utils/exporters/blender/addons/io_three/exporter/geometry.py

@@ -335,7 +335,7 @@ class Geometry(base_classes.BaseNode):
                 constants.METADATA: self.metadata
                 constants.METADATA: self.metadata
             })
             })
         else:
         else:
-            if self.options.get(constants.EMBED_GEOMETRY):
+            if self.options.get(constants.EMBED_GEOMETRY, True):
                 data[constants.DATA] = {
                 data[constants.DATA] = {
                     constants.ATTRIBUTES: component_data
                     constants.ATTRIBUTES: component_data
                 }
                 }