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 <montagne29@wanadoo.fr>2019-05-11 16:40:39 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2019-05-11 16:40:39 +0300
commit55d0ff708c617f190fd898c37f90b70a2fd6a293 (patch)
treea935420237571c3b0c5668d3fc1a66dbb2186f5d /io_scene_fbx
parent045c4bb8d82d809b31f39232c3dd0b1c4ed0c662 (diff)
Fix (unreported) broken export due to API change.
Please update scripts when you do such changes...
Diffstat (limited to 'io_scene_fbx')
-rw-r--r--io_scene_fbx/__init__.py2
-rw-r--r--io_scene_fbx/export_fbx_bin.py2
-rw-r--r--io_scene_fbx/fbx_utils.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/io_scene_fbx/__init__.py b/io_scene_fbx/__init__.py
index 68bdf96f..ac76f450 100644
--- a/io_scene_fbx/__init__.py
+++ b/io_scene_fbx/__init__.py
@@ -21,7 +21,7 @@
bl_info = {
"name": "FBX format",
"author": "Campbell Barton, Bastien Montagne, Jens Restemeier",
- "version": (4, 14, 5),
+ "version": (4, 14, 6),
"blender": (2, 80, 0),
"location": "File > Import-Export",
"description": "FBX IO meshes, UV's, vertex colors, materials, textures, cameras, lamps and actions",
diff --git a/io_scene_fbx/export_fbx_bin.py b/io_scene_fbx/export_fbx_bin.py
index cbcc8675..055aa3e1 100644
--- a/io_scene_fbx/export_fbx_bin.py
+++ b/io_scene_fbx/export_fbx_bin.py
@@ -2065,7 +2065,7 @@ def fbx_animations(scene_data):
'lock_location', 'lock_rotation', 'lock_rotation_w', 'lock_rotations_4d', 'lock_scale',
'tag', 'track_axis', 'up_axis', 'active_material', 'active_material_index',
'matrix_parent_inverse', 'empty_display_type', 'empty_display_size', 'empty_image_offset', 'pass_index',
- 'color', 'hide_viewport', 'hide_select', 'hide_render', 'instance_type',
+ 'color', 'hide_select', 'hide_render', 'instance_type',
'use_instance_vertices_rotation', 'use_instance_faces_scale', 'instance_faces_scale',
'display_type', 'show_bounds', 'display_bounds_type', 'show_name', 'show_axis', 'show_texture_space',
'show_wire', 'show_all_edges', 'show_transparent', 'show_in_front',
diff --git a/io_scene_fbx/fbx_utils.py b/io_scene_fbx/fbx_utils.py
index 19f32800..a0de2c4c 100644
--- a/io_scene_fbx/fbx_utils.py
+++ b/io_scene_fbx/fbx_utils.py
@@ -984,7 +984,7 @@ class ObjectWrapper(metaclass=MetaObjectWrapper):
# XXX Not sure how much that’s useful now... :/
def get_hide(self):
- return self.bdata.hide_viewport if self._tag in {'OB', 'DP'} else self.bdata.hide
+ return self.bdata.hide_get() if self._tag in {'OB', 'DP'} else self.bdata.hide
hide = property(get_hide)
def get_parent(self):