Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <bastien@blender.org>2020-04-28 18:10:07 +0300
committerBastien Montagne <bastien@blender.org>2020-04-28 18:10:07 +0300
commit693a834eb50f13713ee71a2b7bc1114f65f02559 (patch)
tree74602c1de8aad64cfbc80dcc301efa04f1ceadcb /io_scene_obj
parentd60d0462c5b8a7e541c50769ceee439c15f87672 (diff)
OBJ: Fix mistakes in rBAc03185fe40dc, add some tooltips.
Please do not commit random things to code maintained by other people, especially if you are breaking basic 101 things like codestyle. This is loss of time for everybody. Even worse since not ansewring to comments on original commit. Also no need to add extra `text` parameters (and more useless UI messages) in add-ons, when the only usage of the property's name itself is in own add-on' UI...
Diffstat (limited to 'io_scene_obj')
-rw-r--r--io_scene_obj/__init__.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/io_scene_obj/__init__.py b/io_scene_obj/__init__.py
index b7ab6466..cfe66283 100644
--- a/io_scene_obj/__init__.py
+++ b/io_scene_obj/__init__.py
@@ -255,12 +255,12 @@ class OBJ_PT_export_include(bpy.types.Panel):
sfile = context.space_data
operator = sfile.active_operator
- col = layout.column(heading = "Limit to")
+ 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 = layout.column(heading="Objects as", align=True)
+ col.prop(operator, 'use_blen_objects')
+ col.prop(operator, 'group_by_object')
col.prop(operator, 'group_by_material')
layout.separator()
@@ -421,18 +421,18 @@ class ExportOBJ(bpy.types.Operator, ExportHelper):
# grouping group
use_blen_objects: BoolProperty(
- name="Objects as OBJ Objects",
- description="",
+ name="OBJ Objects",
+ description="Export Blender objects as OBJ objects",
default=True,
)
group_by_object: BoolProperty(
- name="Objects as OBJ Groups ",
- description="",
+ name="OBJ Groups",
+ description="Export Blender objects as OBJ groups",
default=False,
)
group_by_material: BoolProperty(
name="Material Groups",
- description="",
+ description="Generate an OBJ group for each part of a geometry using a different material",
default=False,
)
keep_vertex_order: BoolProperty(