Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
blender-addons
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
blender
blender-addons
Commits
b62b5230
Commit
b62b5230
authored
10 years ago
by
Bastien Montagne
Browse files
Options
Downloads
Patches
Plain Diff
FBX: Further tweaks to UI...
parent
a6f80954
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
io_scene_fbx/__init__.py
+19
-10
19 additions, 10 deletions
io_scene_fbx/__init__.py
with
19 additions
and
10 deletions
io_scene_fbx/__init__.py
+
19
−
10
View file @
b62b5230
...
...
@@ -165,7 +165,7 @@ class ExportFBX(bpy.types.Operator, ExportHelper):
)
global_scale
=
FloatProperty
(
name
=
"
Scale
"
,
description
=
(
"
Scale all data (Some importers do not support scaled armatures!)
"
)
,
description
=
"
Scale all data (Some importers do not support scaled armatures!)
"
,
min
=
0.001
,
max
=
1000.0
,
soft_min
=
0.01
,
soft_max
=
1000.0
,
default
=
1.0
,
...
...
@@ -210,6 +210,7 @@ class ExportFBX(bpy.types.Operator, ExportHelper):
(
'
ARMATURE
'
,
"
Armature
"
,
""
),
(
'
MESH
'
,
"
Mesh
"
,
""
),
),
description
=
"
Which kind of object to export
"
,
default
=
{
'
EMPTY
'
,
'
CAMERA
'
,
'
LAMP
'
,
'
ARMATURE
'
,
'
MESH
'
},
)
...
...
@@ -224,15 +225,17 @@ class ExportFBX(bpy.types.Operator, ExportHelper):
(
'
FACE
'
,
"
Face
"
,
"
Write face smoothing
"
),
(
'
EDGE
'
,
"
Edge
"
,
"
Write edge smoothing
"
),
),
description
=
"
Export smoothing information (not mandatory if your target importer understand split normals)
"
,
default
=
'
FACE
'
,
)
use_mesh_edges
=
BoolProperty
(
name
=
"
Include Loose Edges
"
,
name
=
"
Loose Edges
"
,
description
=
"
Export loose edges (as two-vertices polygons)
"
,
default
=
False
,
)
# 7.4 only
use_tspace
=
BoolProperty
(
name
=
"
Include
Tangent Space
"
,
name
=
"
Tangent Space
"
,
description
=
(
"
Add binormal and tangent vectors, together with normal they form the tangent space
"
"
(will only work correctly with tris/quads only meshes!)
"
),
default
=
False
,
...
...
@@ -344,20 +347,26 @@ class ExportFBX(bpy.types.Operator, ExportHelper):
if
is_74bin
:
layout
.
prop
(
self
,
"
use_custom_properties
"
)
layout
.
prop
(
self
,
"
bake_anim
"
)
layout
.
prop
(
self
,
"
bake_anim_step
"
)
layout
.
prop
(
self
,
"
bake_anim_simplify_factor
"
)
col
=
layout
.
column
()
col
.
enabled
=
self
.
bake_anim
col
.
prop
(
self
,
"
bake_anim_step
"
)
col
.
prop
(
self
,
"
bake_anim_simplify_factor
"
)
else
:
layout
.
prop
(
self
,
"
use_armature_deform_only
"
)
layout
.
prop
(
self
,
"
use_anim
"
)
layout
.
prop
(
self
,
"
use_anim_action_all
"
)
layout
.
prop
(
self
,
"
use_default_take
"
)
layout
.
prop
(
self
,
"
use_anim_optimize
"
)
layout
.
prop
(
self
,
"
anim_optimize_precision
"
)
col
=
layout
.
column
()
col
.
enabled
=
self
.
use_anim
col
.
prop
(
self
,
"
use_anim_action_all
"
)
col
.
prop
(
self
,
"
use_default_take
"
)
col
.
prop
(
self
,
"
use_anim_optimize
"
)
col
.
prop
(
self
,
"
anim_optimize_precision
"
)
layout
.
separator
()
layout
.
prop
(
self
,
"
path_mode
"
)
if
is_74bin
:
layout
.
prop
(
self
,
"
embed_textures
"
)
col
=
layout
.
column
()
col
.
enabled
=
(
self
.
path_mode
==
'
COPY
'
)
col
.
prop
(
self
,
"
embed_textures
"
)
layout
.
prop
(
self
,
"
batch_mode
"
)
layout
.
prop
(
self
,
"
use_batch_own_dir
"
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment