Loose edges do not initially render after creating new mesh object #92394
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#92394
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Linux-5.11.0-37-generic-x86_64-with-glibc2.33 64 Bits
Graphics card: NVIDIA GeForce GTX 1050 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 470.63.01
Blender Version
Broken: version: 2.93.5, branch: master, commit date: 2021-10-05 12:04, hash:
blender/blender@a791bdabd0
Worked: not sure when it ever worked
Short description of error
When creating a new mesh object with loose edges, the edges do not render initially. Must add modifier that changes the mesh or tab into edit mode.
Exact steps for others to reproduce the error
Create a new mesh object using Python that contains loose edges.
Easiest way to reproduce is to import the attached PLY file. This file is just a cube with the top five faces removed (deleted faces only).
cube.ply
After importing, you will see only the bottom face---no edges.
Tabbing into edit mode shows the face and 8 loose edges as expected.
Tabbing back into object mode shows the mesh correctly now.
I've tested this in 2.93.5, 2.92, 2.91, 2.90, 2.83, and today's build of 3.0.0 alpha, and all have this same issue.
The Triangulate and Bevel modifiers do cause the loose edges to show, but once you delete the added modifier the loose edges disappear again. Other modifiers like Mirror does not cause loose edges to appear.
Changing viewport display settings like Wireframe and All Edges for the object does not cause loose edges to appear. It seems that the mesh data needs to be reprocessed (edit mode, mesh-altering modifier, etc.) before it will show correctly.
Added subscriber: @gfxcoder
Added subscriber: @scurest
It does work but you have to explicitly request it with
mesh.update(calc_edges=True, calc_edges_loose=True)
(see docs). The PLY importer is doing justmesh.update()
.Incidentally I thought only
calc_edges_loose=True
was necessary but one edge in this PLY import won't show up unless you also passcalc_edges=True
...Added subscriber: @lichtwerk
Changed status from 'Needs Triage' to: 'Confirmed'
@scurest : exactly.
Investigated a little more. The missing edge only happens when doing update -> validate in that order. If you do it in the order validate -> update,
calc_edges_loose
is enough (dunno why though). That's also the order the OBJ importer uses FWIW.So this fixes the PLY importer