Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2019-07-31 13:01:19 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2019-07-31 13:01:19 +0300
commit2176c8f2aaac6eb1fb6d1e159100396f1c500f22 (patch)
treebbe71b2e032189e9a03dcdfecee61c3cfda7a894 /io_scene_obj
parente24da4d87cd88481b2e74246d9d5b60fbc98b140 (diff)
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...
Diffstat (limited to 'io_scene_obj')
-rw-r--r--io_scene_obj/__init__.py2
-rw-r--r--io_scene_obj/import_obj.py2
2 files changed, 2 insertions, 2 deletions
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: