[Bf-extensions-cvs] [2176c8f2] master: Fix T66087: OBJ file import does not show edges until entering edit mode.
Bastien Montagne
noreply at git.blender.org
Wed Jul 31 12:02:16 CEST 2019
Commit: 2176c8f2aaac6eb1fb6d1e159100396f1c500f22
Author: Bastien Montagne
Date: Wed Jul 31 12:01:19 2019 +0200
Branches: master
https://developer.blender.org/rBA2176c8f2aaac6eb1fb6d1e159100396f1c500f22
Fix T66087: OBJ file import does not show edges until entering edit mode.
Looks like loose edges need to be properly tagged as such nowadays...
===================================================================
M io_scene_obj/__init__.py
M io_scene_obj/import_obj.py
===================================================================
diff --git a/io_scene_obj/__init__.py b/io_scene_obj/__init__.py
index b129f283..f06acdba 100644
--- a/io_scene_obj/__init__.py
+++ b/io_scene_obj/__init__.py
@@ -21,7 +21,7 @@
bl_info = {
"name": "Wavefront OBJ format",
"author": "Campbell Barton, Bastien Montagne",
- "version": (3, 5, 12),
+ "version": (3, 5, 13),
"blender": (2, 80, 0),
"location": "File > Import-Export",
"description": "Import-Export OBJ, Import OBJ mesh, UV's, materials and textures",
diff --git a/io_scene_obj/import_obj.py b/io_scene_obj/import_obj.py
index c8a09b2a..86b93204 100644
--- a/io_scene_obj/import_obj.py
+++ b/io_scene_obj/import_obj.py
@@ -738,7 +738,7 @@ def create_mesh(new_objects,
me.edges.foreach_set("vertices", unpack_list(edges))
me.validate(clean_customdata=False) # *Very* important to not remove lnors here!
- me.update(calc_edges=use_edges)
+ me.update(calc_edges=use_edges, calc_edges_loose=use_edges)
# Un-tessellate as much as possible, in case we had to triangulate some ngons...
if fgon_edges:
More information about the Bf-extensions-cvs
mailing list