Browse Source

Enable Precision is now on by default
Adjusted the precision widgets so they are laid out in a manner easier to read

repsac 10 years ago
parent
commit
d4228099f5

+ 4 - 1
utils/exporters/blender/addons/io_three/__init__.py

@@ -36,7 +36,7 @@ SETTINGS_FILE_EXPORT = 'three_settings_export.js'
 bl_info = {
     'name': 'Three.js Format',
     'author': 'repsac, mrdoob, yomotsu, mpk, jpweeks',
-    'version': (1, 1, 0),
+    'version': (1, 1, 1),
     'blender': (2, 7, 3),
     'location': 'File > Import-Export',
     'description': 'Export Three.js formatted JSON files.',
@@ -633,10 +633,13 @@ class ExportThree(bpy.types.Operator, ExportHelper):
         row = layout.row()
         row.prop(self.properties, 'option_scale')
         
+        row = layout.row()
         row = layout.row()
         row.prop(self.properties, 'option_round_off')
+        row = layout.row()
         row.prop(self.properties, 'option_round_value')
 
+        row = layout.row()
         row = layout.row()
         row.prop(self.properties, 'option_logging')
 

+ 1 - 1
utils/exporters/blender/addons/io_three/constants.py

@@ -107,7 +107,7 @@ EXPORT_OPTIONS = {
     LIGHTS: False,
     COPY_TEXTURES: True,
     LOGGING: DEBUG,
-    ENABLE_PRECISION: False,
+    ENABLE_PRECISION: True,
     PRECISION: DEFAULT_PRECISION,
     EMBED_GEOMETRY: True,
     EMBED_ANIMATION: True,