diff options
author | Samuli Raivio <bqqbarbhg> | 2022-07-11 12:56:49 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2022-07-11 12:56:49 +0300 |
commit | 7a8502871c34db0343cc7de52d6b49b15a84238a (patch) | |
tree | 17e5cd1c9cbcf302b1440937e8392bdcfca55b9f /io_scene_fbx/import_fbx.py | |
parent | e5d8781f544326a59c7892da2adf35a5ba815c02 (diff) |
Fix FBX IO handling of BoundaryRule enum values.
Support for BoundaryRule (how to handle edges/vertices in subdivision
surface) was added in rBA9a285d80167f, but the values between
'CreaseAll' and 'CreaseEdge' were inverted.
Reviewed By: mont29
Differential Revision: D15035
Diffstat (limited to 'io_scene_fbx/import_fbx.py')
-rw-r--r-- | io_scene_fbx/import_fbx.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io_scene_fbx/import_fbx.py b/io_scene_fbx/import_fbx.py index 90f0c016..72d666c1 100644 --- a/io_scene_fbx/import_fbx.py +++ b/io_scene_fbx/import_fbx.py @@ -2929,7 +2929,7 @@ def load(operator, context, filepath="", mod.levels = preview_levels mod.render_levels = render_levels boundary_rule = elem_prop_first(elem_find_first(fbx_sdata, b'BoundaryRule'), default=1) - if boundary_rule == 2: + if boundary_rule == 1: mod.boundary_smooth = "PRESERVE_CORNERS" else: mod.boundary_smooth = "ALL" |