diff options
Diffstat (limited to 'io_scene_gltf2/__init__.py')
-rwxr-xr-x | io_scene_gltf2/__init__.py | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/io_scene_gltf2/__init__.py b/io_scene_gltf2/__init__.py index 20afb1d9..4872b228 100755 --- a/io_scene_gltf2/__init__.py +++ b/io_scene_gltf2/__init__.py @@ -82,7 +82,6 @@ class ExportGLTF2_Base: items=(('GENERAL', "General", "General settings"), ('MESHES', "Meshes", "Mesh settings"), ('OBJECTS', "Objects", "Object settings"), - ('MATERIALS', "Materials", "Material settings"), ('ANIMATION', "Animation", "Animation settings")), name="ui_tab", description="Export setting categories", @@ -241,13 +240,6 @@ class ExportGLTF2_Base: default=False ) - export_texture_transform: BoolProperty( - name='Texture Transforms', - description='Export texture or UV position, rotation, and scale. ' - 'Uses "KHR_texture_transform" glTF extension', - default=False - ) - export_displacement: BoolProperty( name='Displacement Textures (EXPERIMENTAL)', description='EXPERIMENTAL: Export displacement textures. ' @@ -351,7 +343,6 @@ class ExportGLTF2_Base: export_settings['gltf_morph_tangent'] = False export_settings['gltf_lights'] = self.export_lights - export_settings['gltf_texture_transform'] = self.export_texture_transform export_settings['gltf_displacement'] = self.export_displacement export_settings['gltf_binary'] = bytearray() @@ -389,17 +380,13 @@ class ExportGLTF2_Base: if self.export_normals: col.prop(self, 'export_tangents') col.prop(self, 'export_colors') + col.prop(self, 'export_materials') def draw_object_settings(self): col = self.layout.box().column() col.prop(self, 'export_cameras') col.prop(self, 'export_lights') - def draw_material_settings(self): - col = self.layout.box().column() - col.prop(self, 'export_materials') - col.prop(self, 'export_texture_transform') - def draw_animation_settings(self): col = self.layout.box().column() col.prop(self, 'export_animations') |