Skip to content

PolyStrips: Crash when creating corner while merging into existing geometry #1490

Closed
@jlampel

Description

@jlampel

Blender can fully crash if you draw a strip with a corner onto another strip. Here are some examples, one in Blender 4.3 and one in Blender 4.4:

Image

Image

RFCore.register
RFCore_Operator.__init__
CACHING BVHS FOR ALL SOURCE OBJECTS
  0.00secs
RFCore_Operator executing
Activating <class 'bl_ext.vscode_development.retopoflow.retopoflow.rfoverlays.quadstrip_selection_overlay.RFOperator_PolyStrips_Selection_Overlay'>
<bpy_struct, Area at 0x00000282EFEE6880> <bpy_struct, Region at 0x00000282EFEEBC20>
RFOperator_PolyStrips_Insert.execute: Caught Exception division by zero
____________________________________________________________________________________________________
Exception Info
- Time: 2025-04-01 19:56:25.895832
- Count: 1
- Hash: 96d54cf4e057eb721689d9195ab845e8
- Info:
  - EXCEPTION (<class 'ZeroDivisionError'>): division by zero
  -     C:\Users\Jonathan\AppData\Roaming\Blender Foundation\Blender\4.3\extensions\vscode_development\retopoflow\retopoflow\rftool_polystrips\polystrips_logic.py
  - 000 0341:<listcomp>() find_point_at(stroke3D_local, self.is_cycle, (i / (nsamples - 1)))
  - 001 0340:create() samples = [
  -     C:\Users\Jonathan\AppData\Roaming\Blender Foundation\Blender\4.3\extensions\vscode_development\retopoflow\retopoflow\rftool_polystrips\polystrips.py
  - 002 0227:execute() logic.create(context)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error   : EXCEPTION_ACCESS_VIOLATION
Address : 0x00007FF7AFFE960F
Module  : blender.exe
Thread  : 000259f0
Writing: C:\Users\Jonathan\AppData\Local\Temp\blender.crash.txt

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions