Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Viewer Draw #4837

Closed
Durman opened this issue Dec 22, 2022 · 2 comments
Closed

Viewer Draw #4837

Durman opened this issue Dec 22, 2022 · 2 comments
Labels

Comments

@Durman
Copy link
Collaborator

Durman commented Dec 22, 2022

Problem statement

Viewer Draw node can crush Blender (at least in 3.4.0).

image

untitled.blend.zip

@satabol
Copy link
Collaborator

satabol commented Dec 22, 2022

I reproduce error:

image

Crash is not good but expected in this situation. Proposal is to check geom.v_vertices length for first vertex. If first point has three digits and other are not then no crash and only errors in console:
image

If set this rules then no crash happens:
image

May be zero check is not enough (?)
image
(No crash)

@satabol
Copy link
Collaborator

satabol commented Jan 19, 2023

@Durman , hello. Can you see fix for this issue?

satabol added a commit that referenced this issue Jul 18, 2023
fix #4837 (crash Blender if only first vertex in vertices list is empty)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants