[Bf-extensions-cvs] [946b62da] blender-v3.4-release: Fix T102420: Outdated mesh edge crease API used in FBX import
Hans Goudey
noreply at git.blender.org
Tue Nov 22 22:43:34 CET 2022
Commit: 946b62da3f9c93b4add8596aef836bf3a29ea27c
Author: Hans Goudey
Date: Tue Nov 22 15:43:24 2022 -0600
Branches: blender-v3.4-release
https://developer.blender.org/rBA946b62da3f9c93b4add8596aef836bf3a29ea27c
Fix T102420: Outdated mesh edge crease API used in FBX import
API changed in rBa8a454287a27
===================================================================
M io_scene_fbx/import_fbx.py
===================================================================
diff --git a/io_scene_fbx/import_fbx.py b/io_scene_fbx/import_fbx.py
index 999161fb..6aa44317 100644
--- a/io_scene_fbx/import_fbx.py
+++ b/io_scene_fbx/import_fbx.py
@@ -1329,7 +1329,7 @@ def blen_read_geom(fbx_tmpl, fbx_obj, settings):
# must be after edge, face loading.
ok_smooth = blen_read_geom_layer_smooth(fbx_obj, mesh)
- ok_crease = blen_read_geom_layer_edge_crease(fbx_obj, mesh)
+ blen_read_geom_layer_edge_crease(fbx_obj, mesh)
ok_normals = False
if settings.use_custom_normals:
@@ -1364,9 +1364,6 @@ def blen_read_geom(fbx_tmpl, fbx_obj, settings):
if not ok_smooth:
mesh.polygons.foreach_set("use_smooth", [True] * len(mesh.polygons))
- if ok_crease:
- mesh.use_customdata_edge_crease = True
-
if settings.use_custom_props:
blen_read_custom_properties(fbx_obj, mesh, settings)
More information about the Bf-extensions-cvs
mailing list