Fix (unreported) broken export due to API change.

Please update scripts when you do such changes...
This commit is contained in:
Bastien Montagne 2019-05-11 15:40:39 +02:00
parent 045c4bb8d8
commit 55d0ff708c
Notes: blender-bot 2023-02-14 18:07:17 +01:00
Referenced by commit fa8787a6: Revert "Fix (unreported) broken export due to API change."
Referenced by commit fa8787a6, Revert "Fix (unreported) broken export due to API change."
3 changed files with 3 additions and 3 deletions

View File

@ -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",

View File

@ -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',

View File

@ -984,7 +984,7 @@ class ObjectWrapper(metaclass=MetaObjectWrapper):
# XXX Not sure how much thats 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):