diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2019-05-11 18:11:54 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2019-05-11 18:11:54 +0300 |
commit | fa8787a67ee6b34712896637edb0574973447a9b (patch) | |
tree | 9e3d4ae947fed67c33df3ae59b9eb864c2d84853 /io_scene_fbx | |
parent | 0d4c095e9a163987d664a36baa90937e4b93847a (diff) |
Revert "Fix (unreported) broken export due to API change."
This reverts commit 55d0ff708c617f190fd898c37f90b70a2fd6a293.
Diffstat (limited to 'io_scene_fbx')
-rw-r--r-- | io_scene_fbx/export_fbx_bin.py | 2 | ||||
-rw-r--r-- | io_scene_fbx/fbx_utils.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/io_scene_fbx/export_fbx_bin.py b/io_scene_fbx/export_fbx_bin.py index 59fe3402..48dabc25 100644 --- a/io_scene_fbx/export_fbx_bin.py +++ b/io_scene_fbx/export_fbx_bin.py @@ -2076,7 +2076,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_select', 'hide_render', 'instance_type', + 'color', 'hide_viewport', '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 a0de2c4c..19f32800 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_get() if self._tag in {'OB', 'DP'} else self.bdata.hide + return self.bdata.hide_viewport if self._tag in {'OB', 'DP'} else self.bdata.hide hide = property(get_hide) def get_parent(self): |