Texture Paint behaving weird on Ctrl + Z sometimes #60954
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
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#60954
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
Operating system: Windows 10 64x
Graphics card: Geforce 1070
Blender Version
Broken:
690478027b
Short description of error
When pressing Ctrl + Z until undo all the brush strokes i did, the texture o the viewport was not going back to blank.
After a few trys, the file crashed. You can see it on the video. You will even see that after it crashed, it began to behave different.
paint.mp4
Casa 2.blend
Exact steps for others to reproduce the error
Based on the default startup or an attached .blend file (as simple as possible).
Added subscriber: @HenriqueGonzaga
I was able to show it better this time :
Paint 2.mp4
Added subscriber: @ZedDB
I think this might a be duplicate of #60660. Could you retest with the latest beta build?
Still not working with today's build (
e63869ca80
)I decided painting it on Substance Painter because the texture masks didn't seem to be working..
i tested it on a blank file, and there is something wrong here, it stopped working :
And now somehow it turned into this :
And pressing Ctrl + Z, the viewport normalized :
I can reproduce this too, so the the undo bug seems to still be there.
Added subscriber: @ideasman42
@ideasman42 It seems like the pink texture on undo is fixed now. However, if I paint some stroke and undo it segfaults sometimes with this test file.
In other cases, the texture is simply no longer updated in the viewport but you can see that you are drawing and updating the texture in the texture image view.
I have to undo again to make it display the updated texture in the 3D viewport.
Backtrace:
@ZedDB interesting, I'm testing a bug which gives a backtrace in drawing too.
Automated steps are in this diff: https://developer.blender.org/D4286?id=13443#change-Dr6NjSaEnzSv
Can you try building w/
WITH_COMPILER_ASAN
and see if its the same bug?Changed status from 'Open' to: 'Resolved'
@ideasman42 I can't seem to reproduce the segfault or the texture paint image not updating in viewport anymore with the latest commits.
Did you want me to test out the code that you linked to or was it only to help with debugging this (now seemingly solved) issue?
@HenriqueGonzaga Let me know if this is still a problem with a build from tomorrow.
Note, another undo/redo bug that seems related to this has been fixed
87aa456ea5
.