Page MenuHome

Sculpt: Brush spacing pressure artifacts
Closed, ResolvedPublic


System Information
Ubuntu 16.04
Geforce GTS 250

Blender Version
Broken: 11a9434c2de
Broken: 95182d1
Working: 9337574

Short description of error
If sculpt brush uses space stroke method, turning on the spacing pressure and turning spacing to about 70% causes holes to appear in the mesh and sometimes makes Blender freeze up. Happens in both dyntopo and multires, or without either.

Exact steps for others to reproduce the error
Open the file and make a sculpt stroke:

Event Timeline

Couldn't redo this with dyntopo or multi-res or neither.

The earliest version which has this issue for me is 2.72... 2.71 and earlier is OK.

Just noticed a new detail; when this occurs, the object dimensions change to 'inf' then to nan after I try to change them.

I can reproduce it in the 2.79 RC2 using a wacom intuos 4 stylus, mouse works fine.
win 7x64
nvidia 1070 drivers 382.33

I think it's a divide by zero in paint_stroke_integrate_overlap in paint_stroke.c

Joshua Leung (aligorith) lowered the priority of this task from 90 to 50.

Confirmed on Windows 8.1 (rB65582e7) with Intuos Pro 5.

Looks like there is a divide by zero there. Will commit fix later.