[Bf-extensions-cvs] [c03185fe] master: OBJ UI: Tweaks to support new layout features

William Reynish noreply at git.blender.org
Sat Apr 18 14:21:24 CEST 2020


Commit: c03185fe40dcc9c2b4cf3c9ef47d4546e0d003a8
Author: William Reynish
Date:   Sat Apr 18 14:21:22 2020 +0200
Branches: master
https://developer.blender.org/rBAc03185fe40dcc9c2b4cf3c9ef47d4546e0d003a8

OBJ UI: Tweaks to support new layout features

===================================================================

M	io_scene_obj/__init__.py

===================================================================

diff --git a/io_scene_obj/__init__.py b/io_scene_obj/__init__.py
index 997deee2..b7ab6466 100644
--- a/io_scene_obj/__init__.py
+++ b/io_scene_obj/__init__.py
@@ -255,10 +255,16 @@ class OBJ_PT_export_include(bpy.types.Panel):
         sfile = context.space_data
         operator = sfile.active_operator
 
-        layout.prop(operator, 'use_selection')
-        layout.prop(operator, 'use_blen_objects')
-        layout.prop(operator, 'group_by_object')
-        layout.prop(operator, 'group_by_material')
+        col = layout.column(heading = "Limit to")
+        col.prop(operator, 'use_selection')
+
+        col = layout.column(heading = "Objects as", align = True)
+        col.prop(operator, 'use_blen_objects', text = "OBJ Objects")
+        col.prop(operator, 'group_by_object', text = "OBJ Groups")
+        col.prop(operator, 'group_by_material')
+
+        layout.separator()
+
         layout.prop(operator, 'use_animation')



More information about the Bf-extensions-cvs mailing list