Deleting brush closes Paint panel and creates duplicate brush when re-entering a Paint Mode #45258
Labels
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
5 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#45258
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Windows 7 Pro SP1 x64
nVidia GTX 960
Blender Version
Broken:
cf1bac3
Short description of error
When in Texture Paint mode for 3D View or UV/Image view, removing a brush removes the ability to use a brush at all by removing the Paint panel, as well as the Image Paint Tool options in the Brush menu. The only option is to exit the paint mode, and re-enter it. When doing so, The Brush brush in the list is copied and selected.
Exact steps for others to reproduce the error
3a. You can also select Paint when in Paint mode to refresh the mode. Same results.
4. You can continue to unlink brushes, and Blender will continue to create more copies of the "Brush" brush.
Correct me if I'm wrong, but I believe this use to work the same as vertex paint mode even after 2.72, where you could delete brushes, but not lose the ability to continue working with other brushes.
I did look at the older tickets, but did not see anything regarding this issue, but did notice it was an issue in 2.74 as well when trying to find a "working" version.
Changed status to: 'Open'
Added subscriber: @DBrown
Added subscribers: @Psy-Fi, @Sergey
@Psy-Fi, mind having a look into this report? :) Thanks in advance =)
Added subscriber: @ideasman42
@Psy-Fi, I was looking into this, and am wondering if its really important/needed to add a brush on entering point mode.
This is such a rare situation and normally you'll want to use one of the existing brushes anyway.
guessing this is mostly useful loading old files?
I was looking into picking an existing brush, however at this point we don't know the mode we're in, so it could pick a sculpt brush in vertex paint mode for eg.
Suggested fix...
This isn't really all that involved... probably ~20 line patch.
The enum is already there, see Brush->ob_mode.
Selecting an existing brush instead of adding a new one is not that bad but I think the crucial part of this report is that the brush selection panel disappears. It should not disappear and allow choosing another brush. Just modifying the poll function of the panel should do. Probably we can mimic what other paint modes do.
Right, the thing is, the function doesn't know which mode the caller is in, so it doesn't know which
Brush->ob_mode
to check for.As I said, no big deal to add. But you may have an opinion on this.
Ah, thats bad, anything against just removing the check? P254 (tested, it seems to work fine without).
Leave it to me, I'll take care of the report
This issue was referenced by
333feea6e9
Changed status from 'Open' to: 'Resolved'