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:
authorWilliam Reynish <billrey@me.com>2020-04-18 15:04:11 +0300
committerWilliam Reynish <billrey@me.com>2020-04-18 15:04:11 +0300
commit39aeb1b4414b9a95f07627ea322a4caa47ab096b (patch)
tree2eda823a718eb91f9955b272147d4205cfef75d7 /io_scene_fbx
parentd852e3f949717fa0e9f9b82a5628abdf35960018 (diff)
FBX UI: Tweaks to better support new layout features
Diffstat (limited to 'io_scene_fbx')
-rw-r--r--io_scene_fbx/__init__.py18
1 files changed, 11 insertions, 7 deletions
diff --git a/io_scene_fbx/__init__.py b/io_scene_fbx/__init__.py
index 40ca5fc4..112c6cbf 100644
--- a/io_scene_fbx/__init__.py
+++ b/io_scene_fbx/__init__.py
@@ -103,7 +103,7 @@ class ImportFBX(bpy.types.Operator, ImportHelper):
)
use_custom_normals: BoolProperty(
- name="Import Normals",
+ name="Import Custom Normals",
description="Import custom normals, if available (otherwise Blender will recompute them)",
default=True,
)
@@ -241,9 +241,9 @@ class FBX_PT_import_include(bpy.types.Panel):
sfile = context.space_data
operator = sfile.active_operator
- layout.prop(operator, "use_custom_normals")
- layout.prop(operator, "use_subsurf")
- layout.prop(operator, "use_custom_props")
+ layout.prop(operator, "use_custom_normals", text="Custom Normals")
+ layout.prop(operator, "use_subsurf", text="Subdivision Data")
+ layout.prop(operator, "use_custom_props", text="Custom Properties")
sub = layout.row()
sub.enabled = operator.use_custom_props
sub.prop(operator, "use_custom_props_enum_as_string")
@@ -273,7 +273,9 @@ class FBX_PT_import_transform(bpy.types.Panel):
layout.prop(operator, "global_scale")
layout.prop(operator, "decal_offset")
- layout.prop(operator, "bake_space_transform")
+ row = layout.row()
+ row.prop(operator, "bake_space_transform", text = "Apply Transform")
+ row.label(text="", icon='ERROR')
layout.prop(operator, "use_prepost_rot")
@@ -688,7 +690,7 @@ class FBX_PT_export_include(bpy.types.Panel):
sfile = context.space_data
operator = sfile.active_operator
- sublayout = layout.column()
+ sublayout = layout.column(heading = "Limit to")
sublayout.enabled = (operator.batch_mode == 'OFF')
sublayout.prop(operator, "use_selection")
sublayout.prop(operator, "use_active_collection")
@@ -725,7 +727,9 @@ class FBX_PT_export_transform(bpy.types.Panel):
layout.prop(operator, "axis_up")
layout.prop(operator, "apply_unit_scale")
- layout.prop(operator, "bake_space_transform")
+ row = layout.row()
+ row.prop(operator, "bake_space_transform", text ="Apply Transform")
+ row.label(text="", icon='ERROR')
class FBX_PT_export_geometry(bpy.types.Panel):