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...
This commit is contained in:
parent
e24da4d87c
commit
2176c8f2aa
Notes:
blender-bot
2023-02-14 02:06:21 +01:00
Referenced by issue blender/blender#66087, OBJ file import does not show edges until entering edit mode
|
@ -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",
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue