Page MenuHome

Weight paint expands far from brush radius to another vertexes (regression)
Closed, ResolvedPublicBUG

Description

System Information
Operating system: Windows-7-6.1.7601-SP1 64 Bits
Graphics card: GeForce GTX 660 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 441.20

Blender Version
Broken: version: 2.82 (sub 6), branch: master, commit date: 2020-01-19 22:44, hash: rB81b7f8efaf7a
2,81a and 2.83 broken too
Worked: 2.79

Short description of error
Brush paint very far from it`s radius. Try it yourself with this file


Event Timeline

Philipp Oeser (lichtwerk) changed the task status from Needs Triage to Confirmed.Tue, Jan 21, 9:53 AM

Can confirm, checking...

Philipp Oeser (lichtwerk) triaged this task as High priority.
Philipp Oeser (lichtwerk) changed the subtype of this task from "Report" to "Bug".
This comment was removed by Philipp Oeser (lichtwerk).
Philipp Oeser (lichtwerk) lowered the priority of this task from High to Normal.Tue, Jan 21, 10:48 AM

Something very specific to this scene even, behaves normally when with the exact same object in a fresh scene

In this particular scene if I open the file, leave the Radius at 45px, I end up with StrokeCache->radius of radius 0.241306
If I make a fresh scene with the same object, and use the default weightpaint brush (which I set to 45px as well), I end up with StrokeCache->radius of radius 0.050200 [much smaller]
(This is all with the exact same view etc.)

Seems like this is tied to UNIFIED_PAINT_SIZE, if I just execute the following here, everything starts to behave "normally"

bpy.data.scenes['Scene Main'].tool_settings.unified_paint_settings.use_unified_size = False

turning this OFF can also be done in the sidebar:

Turns out it uses UnifiedPaintSettings->unprojected_radius for one and Brush->unprojected_radius for the other.
Not sure why these are not the same if it is actually the same Radius set in px? Seems like a bug to me...

Vyacheslav (hitrpr) added a comment.EditedThu, Jan 23, 6:38 AM

The same problem for vertex paint brush size. It takes global size, but brush circle have local size.

additional info.
Gradient use global weight setting but do not show this weight in the top panel or tool panel.
it is only available in context pop-over

Pablo Dobarro (pablodp606) claimed this task.

I tested the attached file and I can't reproduce in the latest master. I think this was fixed in be691105c2ad in January 24, 3 days after @Philipp Oeser (lichtwerk) confirmed the issue.

@Pablo Dobarro (pablodp606)
yep, it seems it fixed.
I can only reproduce it with this file, until sculpt brush radius and status not changed.

So if someone will find this bug again: just change sculpt-brush radius and switch on-off globar radius to get rid of wrong connection.