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:
Diffstat (limited to 'io_scene_fbx/__init__.py')
-rw-r--r--io_scene_fbx/__init__.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/io_scene_fbx/__init__.py b/io_scene_fbx/__init__.py
index 9933322b..a84dca34 100644
--- a/io_scene_fbx/__init__.py
+++ b/io_scene_fbx/__init__.py
@@ -5,7 +5,7 @@
bl_info = {
"name": "FBX format",
"author": "Campbell Barton, Bastien Montagne, Jens Restemeier",
- "version": (4, 35, 0),
+ "version": (4, 36, 0),
"blender": (3, 2, 0),
"location": "File > Import-Export",
"description": "FBX IO meshes, UV's, vertex colors, materials, textures, cameras, lamps and actions",
@@ -378,6 +378,11 @@ class ExportFBX(bpy.types.Operator, ExportHelper):
description="Export selected and visible objects only",
default=False,
)
+ use_visible: BoolProperty(
+ name='Visible Objects',
+ description='Export visible objects only',
+ default=False
+ )
use_active_collection: BoolProperty(
name="Active Collection",
description="Export only objects from the active collection (and its children)",
@@ -690,6 +695,7 @@ class FBX_PT_export_include(bpy.types.Panel):
sublayout = layout.column(heading="Limit to")
sublayout.enabled = (operator.batch_mode == 'OFF')
sublayout.prop(operator, "use_selection")
+ sublayout.prop(operator, "use_visible")
sublayout.prop(operator, "use_active_collection")
layout.column().prop(operator, "object_types")