Weight paint expands far from brush radius to another vertexes (regression) #73280

Closed
opened 2020-01-21 03:30:22 +01:00 by Vyacheslav Kobozev · 14 comments

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: 81b7f8efaf
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
weightpaint radius.blend
2020-01-21_05-04-30.mp4

**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: `81b7f8efaf` 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 [weightpaint radius.blend](https://archive.blender.org/developer/F8291056/weightpaint_radius.blend) [2020-01-21_05-04-30.mp4](https://archive.blender.org/developer/F8291049/2020-01-21_05-04-30.mp4)

Added subscriber: @Vyach

Added subscriber: @Vyach
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Member

Can confirm, checking...

Can confirm, checking...
Philipp Oeser self-assigned this 2020-01-21 09:58:14 +01:00
Member

This comment was removed by @lichtwerk

*This comment was removed by @lichtwerk*
Member

This comment was removed by @lichtwerk

*This comment was removed by @lichtwerk*
Member

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

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

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:
image.png

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...

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: ![image.png](https://archive.blender.org/developer/F8291876/image.png) 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...
Philipp Oeser removed their assignment 2020-01-21 13:10:25 +01:00

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

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
2020-01-27_18-19-51.mp4

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 [2020-01-27_18-19-51.mp4](https://archive.blender.org/developer/F8305146/2020-01-27_18-19-51.mp4)
Member

Added subscriber: @PabloDobarro

Added subscriber: @PabloDobarro
Member

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Pablo Dobarro self-assigned this 2020-02-04 23:57:46 +01:00
Member

I tested the attached file and I can't reproduce in the latest master. I think this was fixed in be691105c2 in January 24, 3 days after @lichtwerk confirmed the issue.
2020-02-04 23-58-18.mp4

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 @lichtwerk confirmed the issue. [2020-02-04 23-58-18.mp4](https://archive.blender.org/developer/F8321832/2020-02-04_23-58-18.mp4)

@PabloDobarro
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.

2020-02-05_22-33-05.mp4

@PabloDobarro 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. [2020-02-05_22-33-05.mp4](https://archive.blender.org/developer/F8323808/2020-02-05_22-33-05.mp4)
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#73280
No description provided.