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

Strokes: Error drawing count when verts are occluded #1392

Open
jlampel opened this issue Jan 6, 2025 · 0 comments
Open

Strokes: Error drawing count when verts are occluded #1392

jlampel opened this issue Jan 6, 2025 · 0 comments
Labels
bug tool: strokes v4 Applies to RF version 4x
Milestone

Comments

@jlampel
Copy link
Member

jlampel commented Jan 6, 2025

To reproduce, draw a stroke and then rotate the view so that the selected verts are occluded by the mesh.

Traceback (most recent call last):
  File "C:\Users\Jonathan\AppData\Roaming\Blender Foundation\Blender\4.3\scripts\addons\retopoflow\retopoflow\rfoverlays\loopstrip_selection_overlay.py", line 101, in draw_postpixel_overlay
    lbl_pos = get_label_pos(context, lbl, boundary)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Jonathan\AppData\Roaming\Blender Foundation\Blender\4.3\scripts\addons\retopoflow\retopoflow\rfoverlays\loopstrip_selection_overlay.py", line 50, in get_label_pos
    mid = sum(boundary, Vector((0,0,0))) / len(boundary)
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
ZeroDivisionError: Vector division: divide by zero error
@jlampel jlampel added bug tool: strokes v4 Applies to RF version 4x labels Jan 6, 2025
@jlampel jlampel added this to the v4.0 milestone Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug tool: strokes v4 Applies to RF version 4x
Projects
None yet
Development

No branches or pull requests

1 participant