Răsfoiți Sursa

Merge pull request #6184 from repsac/io_three

Fixed a bug by inverting the conditional results around embed geometry tests
Mr.doob 10 ani în urmă
părinte
comite
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
             })
         else:
-            if self.options.get(constants.EMBED_GEOMETRY):
+            if self.options.get(constants.EMBED_GEOMETRY, True):
                 data[constants.DATA] = {
                     constants.ATTRIBUTES: component_data
                 }