alt brush doesn't work in image editor -> paint #101794

Closed
opened 2022-10-13 12:28:57 +02:00 by psyco tik · 12 comments

i think this should be fairly easy to reproduce so i wont bother sharing system info. i was able to reproduce this on 3.3.0 and 3.3.1.

alt brush doesn't work in image editor -> paint

i have a different colour on my brush but when i press ctrl and try to paint the primary colour is painted onto the canvas

i think this should be fairly easy to reproduce so i wont bother sharing system info. i was able to reproduce this on 3.3.0 and 3.3.1. alt brush doesn't work in image editor -> paint i have a different colour on my brush but when i press ctrl and try to paint the primary colour is painted onto the canvas
Author

Added subscriber: @psycotik

Added subscriber: @psycotik
da.buy commented 2022-10-13 13:30:44 +02:00 (Migrated from localhost:3001)

Added subscriber: @da.buy

Added subscriber: @da.buy
da.buy commented 2022-10-13 13:30:44 +02:00 (Migrated from localhost:3001)

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'
da.buy commented 2022-10-13 13:30:44 +02:00 (Migrated from localhost:3001)

I agree that it should do that, at least it worked in 2.79...
Not sure if this is a known issue, i can only find reference related to vertex painting.
Maybe i am just missing something.

I agree that it should do that, at least it worked in 2.79... Not sure if this is a known issue, i can only find reference related to vertex painting. Maybe i am just missing something.
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

Changed status from 'Needs Developer To Reproduce' to: 'Confirmed'

Changed status from 'Needs Developer To Reproduce' to: 'Confirmed'
Pratik Borhade self-assigned this 2022-10-14 03:58:31 +02:00
Member

Thanks for the report. I can confirm. Similar report might be existing already but I'm unable to find it at the moment.
I'll check

Thanks for the report. I can confirm. Similar report might be existing already but I'm unable to find it at the moment. I'll check
Member

Added subscriber: @Jeroen-Bakker

Added subscriber: @Jeroen-Bakker
Member

I don't have brief idea of the internals but quick fix could be:

index 79316361e53..7534c78dfc4 100644
    - a/source/blender/editors/sculpt_paint/paint_image_2d.c
+++ b/source/blender/editors/sculpt_paint/paint_image_2d.c
@@ -163,9 +163,9 @@ static void brush_painter_2d_require_imbuf(
   cache->ibuf = NULL;
   cache->tex_mask = NULL;
   cache->lastdiameter = -1; /* force ibuf create in refresh */
- cache->invert = invert;
 }

+  cache->invert = invert;
 cache->use_float = use_float;
 cache->use_color_correction = use_float && use_color_correction;
 cache->is_texbrush = (brush->mtex.tex && brush->imagepaint_tool == PAINT_TOOL_DRAW) ? true :```

@Jeroen-Bakker hi, can you check?

I don't have brief idea of the internals but quick fix could be: ```diff --git a/source/blender/editors/sculpt_paint/paint_image_2d.c b/source/blender/editors/sculpt_paint/paint_image_2d.c index 79316361e53..7534c78dfc4 100644 - a/source/blender/editors/sculpt_paint/paint_image_2d.c +++ b/source/blender/editors/sculpt_paint/paint_image_2d.c @@ -163,9 +163,9 @@ static void brush_painter_2d_require_imbuf( cache->ibuf = NULL; cache->tex_mask = NULL; cache->lastdiameter = -1; /* force ibuf create in refresh */ - cache->invert = invert; } + cache->invert = invert; cache->use_float = use_float; cache->use_color_correction = use_float && use_color_correction; cache->is_texbrush = (brush->mtex.tex && brush->imagepaint_tool == PAINT_TOOL_DRAW) ? true :``` ``` @Jeroen-Bakker hi, can you check?
Member

Added subscriber: @LukasStockner

Added subscriber: @LukasStockner
Member

Above line was added in c30d6571bb
cc @LukasStockner

Above line was added in c30d6571bb cc @LukasStockner
Pratik Borhade removed their assignment 2022-12-31 05:15:10 +01:00
Philipp Oeser removed the
Interest
Sculpt, Paint & Texture
label 2023-02-10 09:11:00 +01:00
Member

This has been reported again, see #113323, a PR is associated with it (even though it is basically the same as the proposed solution here...).

So will close this report as a duplicate of #113323, please subscribe if you want further updates...

This has been reported again, see #113323, a PR is associated with it (even though it is basically the same as the proposed solution here...). So will close this report as a duplicate of #113323, please subscribe if you want further updates...
Blender Bot added
Status
Archived
and removed
Status
Confirmed
labels 2023-10-06 12:36:07 +02:00
Philipp Oeser added
Status
Duplicate
and removed
Status
Archived
labels 2023-10-06 12:36:27 +02:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Code Documentation
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
FBX
Interest
Freestyle
Interest
Geometry Nodes
Interest
glTF
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 & 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
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
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
Asset System
Module
Core
Module
Development Management
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
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
4 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#101794
No description provided.