Sculpt/Vertex/Weight Paint Brush Size Gets Undone After Undoing a Stroke #71759
Closed
opened 2019-11-22 02:59:36 +01:00 by Seth Quick
·
129 comments
No Branch/Tag Specified
blender-v3.6-release
main
temp-sculpt-dyntopo
asset-browser-frontend-split
temp-sculpt-dyntopo-hive-alloc
node-group-operators
brush-assets-project
asset-shelf
tmp-usd-python-mtl
blender-v2.93-release
blender-v3.3-release
universal-scene-description
temp-sculpt-attr-api
blender-v3.5-release
realtime-clock
sculpt-dev
gpencil-next
bevelv2
microfacet_hair
blender-projects-basics
principled-v2
v3.3.7
v2.93.18
v3.5.1
v3.3.6
v2.93.17
v3.5.0
v2.93.16
v3.3.5
v3.3.4
v2.93.15
v2.93.14
v3.3.3
v2.93.13
v2.93.12
v3.4.1
v3.3.2
v3.4.0
v3.3.1
v2.93.11
v3.3.0
v3.2.2
v2.93.10
v3.2.1
v3.2.0
v2.83.20
v2.93.9
v3.1.2
v3.1.1
v3.1.0
v2.83.19
v2.93.8
v3.0.1
v2.93.7
v3.0.0
v2.93.6
v2.93.5
v2.83.18
v2.93.4
v2.93.3
v2.83.17
v2.93.2
v2.93.1
v2.83.16
v2.93.0
v2.83.15
v2.83.14
v2.83.13
v2.92.0
v2.83.12
v2.91.2
v2.83.10
v2.91.0
v2.83.9
v2.83.8
v2.83.7
v2.90.1
v2.83.6.1
v2.83.6
v2.90.0
v2.83.5
v2.83.4
v2.83.3
v2.83.2
v2.83.1
v2.83
v2.82a
v2.82
v2.81a
v2.81
v2.80
v2.80-rc3
v2.80-rc2
v2.80-rc1
v2.79b
v2.79a
v2.79
v2.79-rc2
v2.79-rc1
v2.78c
v2.78b
v2.78a
v2.78
v2.78-rc2
v2.78-rc1
v2.77a
v2.77
v2.77-rc2
v2.77-rc1
v2.76b
v2.76a
v2.76
v2.76-rc3
v2.76-rc2
v2.76-rc1
v2.75a
v2.75
v2.75-rc2
v2.75-rc1
v2.74
v2.74-rc4
v2.74-rc3
v2.74-rc2
v2.74-rc1
v2.73a
v2.73
v2.73-rc1
v2.72b
2.72b
v2.72a
v2.72
v2.72-rc1
v2.71
v2.71-rc2
v2.71-rc1
v2.70a
v2.70
v2.70-rc2
v2.70-rc
v2.69
v2.68a
v2.68
v2.67b
v2.67a
v2.67
v2.66a
v2.66
v2.65a
v2.65
v2.64a
v2.64
v2.63a
v2.63
v2.61
v2.60a
v2.60
v2.59
v2.58a
v2.58
v2.57b
v2.57a
v2.57
v2.56a
v2.56
v2.55
v2.54
v2.53
v2.52
v2.51
v2.50
v2.49b
v2.49a
v2.49
v2.48a
v2.48
v2.47
v2.46
v2.45
v2.44
v2.43
v2.42a
v2.42
v2.41
v2.40
v2.37a
v2.37
v2.36
v2.35a
v2.35
v2.34
v2.33a
v2.33
v2.32
v2.31a
v2.31
v2.30
v2.28c
v2.28a
v2.28
v2.27
v2.26
v2.25
Labels
Clear labels
Issues relating to security: https://wiki.blender.org/wiki/Process/Vulnerability_Reports
Apply labels
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
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
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
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
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
Issues relating to security: https://wiki.blender.org/wiki/Process/Vulnerability_Reports
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 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
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
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
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
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
Milestone
Set milestone
Clear milestone
No items
No Milestone
Projects
Set Project
Clear projects
No project
Assignees
Assign users
Clear assignees
No Assignees
44 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#71759
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
System Information
Operating system: Win 10
Graphics card: 1060 3gb
Blender Version
Broken: version: 2.83 (sub 0), branch: master, commit date: 2020-01-10 15:03, hash:
89578a8f6e
Short description of error
After changing the size, then doing a strike and immediately undoing it, the brush size gets undone as well.
Steps to reproduce
]
Added subscriber: @SethTooQuick
#82029 was marked as duplicate of this issue
#77076 was marked as duplicate of this issue
#70814 was marked as duplicate of this issue
#76087 was marked as duplicate of this issue
#73749 was marked as duplicate of this issue
#73040 was marked as duplicate of this issue
#71985 was marked as duplicate of this issue
#72984 was marked as duplicate of this issue
#72560 was marked as duplicate of this issue
#72435 was marked as duplicate of this issue
#71824 was marked as duplicate of this issue
Added subscriber: @ideasman42
I can't redo this in the official 2.81 release.
This was fixed as part of #71434.
If this happens in the 2.81 release, please detail the exact steps to redo.
Added subscriber: @TheRedWaxPolice
@ideasman42 I can confirm, it's still happening... at least on 2.82 (blender-2.82-f903835370bc-windows64)
2019-11-22_04-18-00.mp4
This is working for me on the default cube.
Please post steps to redo this from the default startup, or a blend file with steps to redo.
Tried it on a default cube as well, and it works fine. Must be when you start it up as a sculpt session from the splash screen?
This seems to be the case.
It only happens when you start it in sculpting layout.
Change Size, Stroke, Undo: Happens
Stroke, Change Size, Undo: Happens
Stroke, Stroke, Change Size, Undo: Doesn't Happen
Change Size, Stroke, Stroke, Undo: Doesn't Happen
Copied Sphere, put it in normal layout, Stroke Change Size etc.: Doesn't Happen
This bug kinda sucks and noticed it right off the bat.
Added subscriber: @AFWS
Yep, switch to sculpt layout and it happens. It’s not just the brush size ,but any brush settings. Had this happen in past without going to sculpt layout.
Added subscriber: @filouROD
Added subscriber: @ErickNyanduKabongo
I m countering this as well, one more thing to note is, this is happening with many settings under " show tool settings" on the top bar, for example brush, texture, stroke, falloff, ... Better workflow would be, undo should not change this settings.
Added subscribers: @bowserlm, @mano-wii, @Regnas
Closed as duplicate of #72560
Changed status from 'Duplicate' to: 'Open'
Added subscriber: @Diego_mb
Added subscriber: @gobb_blend
The same has been happening with image texture painting for a long time. Very frustrating.
Agreed with the above. Was just doing some texture painting and undo'ing the stroke would literally get rid of my texture altogether, forcing me to have to import it again and again.
Added subscribers: @mooncaine, @iss, @rocketman
Can somebody with this problem try loading factory settings and see if that helps?
Added subscribers: @EthicalVegan, @lichtwerk, @PabloDobarro
I can still reproduce the bug in the latest master.
You need to start blender in sculpt mode directly (by using the sculpt template, for example). The bug happens only when undoing the first step after opening the file:
2020-01-10 22-35-33.mp4
Added subscriber: @Frozen_Death_Knight
Added subscriber: @Pasang
@PabloDobarro, The bug is happening all the time in this file. I'm using the latest master.
Frog Topology21.blend
Added subscriber: @CobraA
Undo shouldn’t affect any of these settings whether it’s the brush size,strength or falloff ....., it's still happening in others modes(weight paint, vertex paint, texture paint...etc.
Really annoying when you undo and you're not aware of the changes and then have to reset them.
Added subscriber: @JulienKaspar
@CobraA Agreed. It's for good reason programs like Photoshop do not affect tool settings and only actions taken that would affect the canvas like adding/removing/modifying layers and filters. If you want to reset a tool you add a reset button to it, not have undo deal with it. It just creates massive problems when you need to go back to a previous state of an object and your tools begin resetting for no good reason. Incredibly impractical to say the least.
Added subscriber: @ckohl_art
This is really true. It gets old when I undo a lot only for the settings I tampered with to my liking to just be reset when all I wanted to do was undo the stuff I created. Is this something that should be asked to be changed on Right Click Select?
Added subscriber: @JohnCox-3
This seems to be fixed since today by this commit:
https://developer.blender.org/rB9e382dd2a3d8569201a3e5c1a8478166c77e9029
if you build the latest master branch or use the buildbot can people test this is true.
Should be included in tomorrow's build.
I just built Blender and I'm not able to reproduce this bug in sculpt mode anymore. Texture paint mode appears to be fixed as well.
However, in vertex paint mode and weight paint mode, any changes made to the tool settings still get reverted when pressing Ctrl+Z.
Would be nice if there was one clean solution that fixes it for all modes.
Changed status from 'Confirmed' to: 'Resolved'
OKi, I assume this can be closed as resolved then (can also confirm this seems fixed).
This should be tracked in a separate report (might already be covered by #69760 (Undo/Adjust Last Operation: vertex and weightpaint operators/strokes undo more then they should (change back any setting changed prior to execution)) in a way?)
Will close as resolved (everyone feel free to comment again if issues persist)
@lichtwerk This doesn't seem fixed.
Same steps:
Launch blender
Go to File->New->Sculpting
Increase the brush radius
Perform a stroke
Now undo
The brush stroke and the brush radius are undone at the same time
Also tested with the new experimental 'Undo Speedup', same issue...
blender-2.83-42012493a8e1-windows64
This is true only after the very first stroke.
Try this:
Increase brush radius
Perform a stroke
Perform a second stroke
Undo
The brush radius stays the same for me
That is exactly the bug we are dealing with here...
Changed status from 'Resolved' to: 'Confirmed'
OK, I see @PabloDobarro comment about the first stroke now; but the description doesn't say that -- who can update to make that clear?
Added subscribers: @Vyach, @ankitm
This comment was removed by @Vyach
Removed subscriber: @EthicalVegan
Added subscribers: @Stan_Pancakes, @pwcb, @Leul, @DanielGrauer, @WilliamReynish
Added subscriber: @brothermechanic
2.81 Sculpt Brush Size Gets Undone After Undoing a Stroketo 2.81 Sculpt/Vertex/Weight Paint Brush Size Gets Undone After Undoing a StrokeAdded subscriber: @TingJoyBits
Added subscriber: @DarkKnight
Added subscriber: @Wladimus
Just to confirm that problem is still present in 2.83.
Added subscriber: @info-27
2.81 Sculpt/Vertex/Weight Paint Brush Size Gets Undone After Undoing a Stroketo Sculpt/Vertex/Weight Paint Brush Size Gets Undone After Undoing a Strokepoke. Any news? This problem really pushes away users to make sculpt in Blender. First try and first strokes, and you get annoying bug.
Added subscriber: @riceart
Bug still exists in 2.90. First stroke after brush reset in sculpt mode (not a big deal). Vertex paint and weight paint unfortunately bugged.
Added subscriber: @kakachiex2
283.2 > 290 this bug is annoying it reset all tool setting in sculpt mode
This is impractical it supposed to no modify tools setting...🤕
Added subscriber: @JCo
Just adding another frustrated voice to this issue. Specifically, in Vertex and Weight Paint this issue is really irritating.
This behaviour is the same in Grease Pencil too (undo changes the active tool and the tool settings). imo it'd be more appropriate & convenient if changes to tools (selected tool and tool settings) were not recorded in the undo stack, or optionally ignored while undoing/redoing.
related:
https://developer.blender.org/T77719
https://blender.community/c/rightclickselect/PHfbbc/
Added subscriber: @mont29
@ideasman42 @mont29 Any clue about what can be causing this to start looking into it? Debugging brushes with this brush is quite hard as you need to set all parameters again to the same values every time you test something and undo. Also, this is causing issues in other areas. For some reason, when this happens the PBVH rebuilds, so all topology info caches and persistent layers are lost.
@PabloDobarro I'd guess this is caused by to initial undo step being a memfile undo step, so reading it is similar to reading the blend file.
However the issue you mention is quite different to the brush size being undone, so it would be good to open a new report for this.
Not only size will be reset, but diferent parameters. Falloff, texture etc.
Added subscriber: @Cultmethod
I am new to this, sorry if I'm posting inappropriately. I just wanted to confirm that I am getting this bug as well on 2.83.5 LTS. It's making sculpting extremely frustrating. I set up a custom brush, do a test sculpt on the mesh, undo, and then all the prams I've set up for that new brush revert back to defaults.
Undo behavior is a nightmare right now in sculpting.
Is this fixed in the latest master and 2.90? I tested this and it seems to be fixed when getting to the "Sculpt Mode" undo step.
The only times I can still reproduce this issue is whit Multires when undoing to a "Multires Apply Base" or "Multires Subdivide" undo step.
Still dead....

Added subscriber: @Thane5
Added subscriber: @CheesecakeCG
Added subscriber: @Ulf3000
still existing in grease pencil draw mode...
@mont29 Do you know if this is something that can be fixed in a reasonable amount of time? Otherwise maybe we should lower the priority or move it to known issues.
I think this should be a known issue indeed, there is not much to be done here (as in, not fixable without serious design work).
Only proper solution I can see that would be relatively easy to implement would be to decide to treat brush settings as we do with UI data, or the position of the 3D cursor for example, and ignore any of their changes in undo steps. But such a change should be validated as a design decision first.
would dearly love that change to happen! (battling against unwanted tool changes every day while using grease pencil)
+1
Yo @mont29 I believe it will be better to seriously consider this option, since unintentionally changing brush settings is so annoying and brush settings should be changed only by the user because a brush is tool like other tool people use, changing the settings is like creating another tool. the butcher will want some knife to cut in certain way and have certain type sharpness. It will be annoying and may be dangerous for him to pick a knife and realize that it is not cutting as he wishes. This undo bug can change so many brush settings without warning the user about the change, this can be a source of many frustrations.
@mont29 I think that if is possible to consider brush settings as UI data that would be an acceptable solution. Should I open another task for this so we can discuss this and move this report to know issue?
Removed subscriber: @SethTooQuick
I am with the others on this. Make it behave similarly to the UI. In all my years of using any art program, being able to affect your brush settings by using undo/redo has never been a thing. If the user wants to change the brush settings they can do it manually, not through some strange unintuitive system where the settings behave like some form of operator like a regular brush stroke.
+1
At least there should be temporary solution, because this bug spoils workflow A LOT
+1 here as well. This strikes me as the most obvious and user friendly solution.
Added subscriber: @Gilberto.R
Yes please, this is the most annoying bug. Any solution to this is very welcome by the users. You can know by the number of duplicate reports and reactions that this is still a High Priority.
Added subscriber: @moisessalvador
The problem lies more in these things not generating and undo item in the undo history, and so they are grouped together with the next undoable action like the stroke.
If I change brush size and paint a stroke, I think I still would like for it to be undoable in some cases, BUT after two undos, not one.
Only when you are tweaking brush and testing it.
BUT! If you will test it witn few strokes, you should do Ctrl+Z few times and it is faster to tweak back manually or reset brush to initial.
Some 2D applications have two options: reset to saved state and reset to «factory settings».
So undoing brush setting is not so much useful.
May be including brush in undo-history should be optional: switch it on, tweak your brushes, switch it off and never care, than Undo will spoil your brush.
I don`t feel this option should be on by default.
Added subscriber: @UrielAlc
This comment was removed by @UrielAlc
+1 This is the worst bug ever :(
Added subscriber: @MallNinjaMax
Confirmed in 2.90.1. I stumbled on an even worse case. I just used the smudge brush in Image Editor Paint, did about 8-10 strokes, and a single undo switched my brush back to Draw. I've had a couple moments where a single undo in image paint undoes everything I recently did in 3D view, but I'm having difficulty recreating it.
Switching back and forth between 3D and 2D texture painting is pretty wack. I never know what's going to happen. It's making it really difficult to work.
Added subscriber: @mousesanya
Confirmed in 2.90.1 as well
It's a burning pain in the neck, especially for novices. As a novice in Blender, I do a lot of mistakes and experiments, so I use CTRL+Z (Undo) regularly. So it would be extremely convenient If Undo operation in Blender does not affect tool settings after the first stroke of a brush (for example).
Added subscriber: @rajq123
Added subscriber: @EvandroFerreiradaCosta
This bug, or unintended behavior, was NOT present in version 2.79. It also worked properly not only in Sculpt but in every other mode such as Vertex Paint and Weight Paint.
Maybe it would be proper to also add to the description that it worked properly in 2.79
Added subscriber: @TioMegamanX
This bug persists all across many other tools including texture paint, selections, locking/unlocking (like in vertex groups), in general it doesn't just undo the last step but sometimes several steps related to the tool you are using.
Removed subscriber: @moisessalvador
This issue was referenced by
5610ccdc08
This issue was referenced by
bc0a6b0400
Changed status from 'Confirmed' to: 'Resolved'
Added subscriber: @PrettyFireNOI7
Added subscriber: @Rawalanche
It is so incredibly embarrassing this has not been solved yet, after so many years. This basically makes sculpting in Blender borderline impossible. Undoing any sculpt tool stroke also undoes the last setting which was changed... So it takes just a few random Ctrl-Z presses to completely ruin many minutes of work. Incredible...
There is still undo for Dyntopo switch with brush strokes.
upd: fixed
Added subscriber: @DoomWalker
I've just run into this bug whilst trying to customise some brushes. I can't believe this problem has been persisting for years and hasn't been fixed. I don't think I can carry on using Blender with something this annoying hanging over my head when sculpting. Looks like I'm defecting to Z Brush for sculpting. Very disappointed.
Yeah sculpting in 2.80+ is overhyped.
What would be more helpful is reporting a new bug report because a lot of settings arent changing with an Undo. This is marked as solved because it is supposed to be solved. I am on blender 2.91.2 and the only thing is noticed was that the texture for the brush was reset to standard.
Its certainly underwhelming. As if it wasn't tedious enough building up your own brush sets with all this appending and fake user nonsense!
I'm on the same version, and almost every brush setting reverts with undo.
Added subscriber: @MattCurtis
Please stop adding random context-less comments in this closed, marked-as-solved report, it is utterly useless.
If you still have issues with undo and brush settings in current master (a.k.a. future 2.93 release currently), create a new report, with full proper required information.