]> git.tdb.fi Git - libs/gl.git/blobdiff - blender/io_mspgl/datafile.py
Move material and texture export to their own classes
[libs/gl.git] / blender / io_mspgl / datafile.py
index 42ff454b4ccff69ab8d433629d973ddced83e744..18e57c4e88f7a841b4699cc53c8af06a4b413ff4 100644 (file)
@@ -12,6 +12,11 @@ class Statement:
                for a in self.args:
                        if type(a)==float:
                                s += " {:#.6g}".format(a)
+                       elif type(a)==bool:
+                               if a:
+                                       s += " true"
+                               else:
+                                       s += " false"
                        elif type(a)==str:
                                s += ' "{}"'.format(a)
                        elif type(a)==Resource: