TexturePaint -> Texture Slot can not be selected #62209
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
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#62209
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
Blender Version
Broken:
(example: 2.80,
1df6a98b17
, blender2.8, 2019-03-05)Worked: (
7d792976e1
)Short description of error
As soon as a Material uses node groups with ImageTexture Nodes, those image textures cannot be selected from the TextureSlot Dropdown.
Also please refer to my comment here:
https://developer.blender.org/rBda1323d1c95095feff98e8aa054d73fd323c363d#221015
Exact steps for others to reproduce the error
Create Suzanne. Go into Texture Paint Tab. Create two texture slots. -> selection works.
Open Shader Editor. Group those 2 textures into a new group. -> selection doesn't work.
BlenderTexturePaintSlotBug.blend
Added subscriber: @ndee
studio/blender-studio#62219 was marked as duplicate of this issue
Added subscriber: @lichtwerk
Confirmed, checking...
Added subscriber: @JulienKaspar
Added subscriber: @brecht
Recent changes uncovered an old issue here. The active paint slot index depends on the order of nodes, while
ED_node_sort
changes that order based on selection and active state, to ensure selected and active nodes always draw on top.could be wrong, but another thing [I think] is that the node is not actually set active when changing active_paint_slot_index (when inside a group)?, which is something the code seems to rely on
[patch below will let me select one of the slots inside the group... on the other hand this was working before @brecht 's commit, so might be utter nonsense, will check more tomorrow...]
P921: T62209_snippet
That indeed needs to be solved as well. The patch seems fine to commit to solve the most immediate problem.
It does not solve the entire issue but those bugs may go back to 2.7, I can look at that later with lower priority.
This issue was referenced by
a261d6f2d3
Changed status from 'Open' to: 'Resolved'