Regression: Texture slots thumbnails in Texture painting mode are missing #99868

Open
opened 2022-07-20 11:59:00 +02:00 by Juan Romero · 14 comments

System Information
Operating system: Windows-10-10.0.22000-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3090/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 516.59

Blender Version
Broken: version: 3.3.0 Alpha, branch: master, commit date: 2022-07-19 23:16, hash: 40ffb94ab4
Caused by 8b7cd1ed2a

Short description of error
Texture slots thumbnails in Texture painting mode are missing

Exact steps for others to reproduce the error
In Texture Paint mode, create texture, begin to paint, save texture and blender file. In the active tools panel>Texture Slots, the texture appears as a generic icon and its name, in 2.90 there was a thumbnail of the created texture instead of a generic icon.

images for reference:
Bug.jpg

**System Information** Operating system: Windows-10-10.0.22000-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 3090/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 516.59 **Blender Version** Broken: version: 3.3.0 Alpha, branch: master, commit date: 2022-07-19 23:16, hash: `40ffb94ab4` Caused by 8b7cd1ed2a **Short description of error** Texture slots thumbnails in Texture painting mode are missing **Exact steps for others to reproduce the error** In Texture Paint mode, create texture, begin to paint, save texture and blender file. In the active tools panel>Texture Slots, the texture appears as a generic icon and its name, in 2.90 there was a thumbnail of the created texture instead of a generic icon. images for reference: ![Bug.jpg](https://archive.blender.org/developer/F13308091/Bug.jpg)
Author

Added subscriber: @JuanRomero

Added subscriber: @JuanRomero
Member

Added subscriber: @OmarEmaraDev

Added subscriber: @OmarEmaraDev
Member

Changed status from 'Needs Triage' to: 'Archived'

Changed status from 'Needs Triage' to: 'Archived'
Member

It seems this was internationally changed in D14455. So this is not a bug, but an expected behavior.

It seems this was internationally changed in [D14455](https://archive.blender.org/developer/D14455). So this is not a bug, but an expected behavior.
Member

Added subscriber: @EAW

Added subscriber: @EAW
Member

In #99868#1393182, @OmarEmaraDev wrote:
It seems this was internationally changed in D14455. So this is not a bug, but an expected behavior.

I am not seeing where it was intentionally changed.
I would think the new rna_TexPaintSlot_icon_get code was added to support this case, but I could be wrong.

> In #99868#1393182, @OmarEmaraDev wrote: > It seems this was internationally changed in [D14455](https://archive.blender.org/developer/D14455). So this is not a bug, but an expected behavior. I am not seeing where it was intentionally changed. I would think the new `rna_TexPaintSlot_icon_get` code was added to support this case, but I could be wrong.
Member

@EAW rna_TexPaintSlot_icon_get is the RNA icon_value property, which is used in TEXTURE_UL_texpaintslots getting its items from texture_paint_slots. icon_value is a static icon, hence the change in behavior.

@EAW `rna_TexPaintSlot_icon_get` is the RNA `icon_value` property, which is used in `TEXTURE_UL_texpaintslots` getting its items from `texture_paint_slots`. `icon_value` is a static icon, hence the change in behavior.
Member

@OmarEmaraDev Thank you for the reply.
I was confused as I was testing the 'Single Image' texture slot, which still has an image specific thumbnail in the dropdown. I now see that this report was referring to the material texture slots.

@OmarEmaraDev Thank you for the reply. I was confused as I was testing the 'Single Image' texture slot, which still has an image specific thumbnail in the dropdown. I now see that this report was referring to the material texture slots.

Added subscriber: @AndyCuccaro

Added subscriber: @AndyCuccaro

What's the purpose of the icon then? And what was the purpose of removing it? Seems like it was removed either unintentionally or "just because".

What's the purpose of the icon then? And what was the purpose of removing it? Seems like it was removed either unintentionally or "just because".
Member

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

Changed status from 'Archived' to: 'Needs Developer To Reproduce'
Member

Added subscriber: @Jeroen-Bakker

Added subscriber: @Jeroen-Bakker
Member

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

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

This is something we should get back. It was removed as color attributes and textures share the same panel.
We should add a new rna property to get the correct icon:

  • Thumbnail of the texture when the paint slot refers to an image.
  • Color attribute icon when the paint slot refers to a color attribute.

That said it is fairly straight forward, but is not high on my priority list. I would believe that anyone with some experience in development should be able to fix this.

  • Texture thumbnail rendering is not removed and still available.
  • adding a branch base on the type of paint slot

If anyone wants to pick this up, please assign the task to you. I would be happy to guide you to the process.

This is something we should get back. It was removed as color attributes and textures share the same panel. We should add a new rna property to get the correct icon: * Thumbnail of the texture when the paint slot refers to an image. * Color attribute icon when the paint slot refers to a color attribute. That said it is fairly straight forward, but is not high on my priority list. I would believe that anyone with some experience in development should be able to fix this. * Texture thumbnail rendering is not removed and still available. * adding a branch base on the type of paint slot If anyone wants to pick this up, please assign the task to you. I would be happy to guide you to the process.
Philipp Oeser changed title from Texture slots thumbnails in Texture painting mode are missing to Regression: Texture slots thumbnails in Texture painting mode are missing 2022-09-16 15:24:20 +02:00
Philipp Oeser removed the
Interest
Sculpt, Paint & Texture
label 2023-02-10 09:11:14 +01:00
Sign in to join this conversation.
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
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#99868
No description provided.