When creating texture/image in Texture Paint mode, both datablocks should get the same name #50704

Closed
opened 2017-02-17 07:09:13 +01:00 by Suchaaver · 10 comments

System Information
Ubuntu 16.04 LTS, Nvidia GTX 970

Blender Version
Broken: 2.78a (as well as earlier versions I'm sure)

Short description of error
As the title says. When creating a new paint slot in texture paint mode, you choose the slot type (Normal, Diffuse Color, etc), and give the texture a name. The paint slot shows that name. However, if you check the textures in the properties editor, it instead shows the slot type as the name (e.g. Diffuse Color, or Diffuse Color.003 if you had others before that).

Exact steps for others to reproduce the error
From new startup file:

  1. Select the cube, go to edit mode, select all of it with A.
  2. Unwrap with U, with basic cube projection.
  3. Go to texture paint mode.
  4. In slots tab (hit T to bring up side menu), create a new slot. Type is Diffuse Color, named Paint Slot 1. I used UV Color Grid for texture.
  5. Go to the texture tab in the properties panel, and observe the texture is name Diffuse Color.

If it is indeed a bug, I intend to take it up as my first task for blender development. Thanks.

texture_name_BUG.blend

**System Information** Ubuntu 16.04 LTS, Nvidia GTX 970 **Blender Version** Broken: 2.78a (as well as earlier versions I'm sure) **Short description of error** As the title says. When creating a new paint slot in texture paint mode, you choose the slot type (Normal, Diffuse Color, etc), and give the texture a name. The paint slot shows that name. However, if you check the textures in the properties editor, it instead shows the slot type as the name (e.g. Diffuse Color, or Diffuse Color.003 if you had others before that). **Exact steps for others to reproduce the error** From new startup file: 1. Select the cube, go to edit mode, select all of it with A. 1. Unwrap with U, with basic cube projection. 2. Go to texture paint mode. 3. In slots tab (hit T to bring up side menu), create a new slot. Type is Diffuse Color, named Paint Slot 1. I used UV Color Grid for texture. 4. Go to the texture tab in the properties panel, and observe the texture is name Diffuse Color. If it is indeed a bug, I intend to take it up as my first task for blender development. Thanks. [texture_name_BUG.blend](https://archive.blender.org/developer/F486949/texture_name_BUG.blend)
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @xchaoscontrolx

Added subscriber: @xchaoscontrolx

Added subscriber: @mont29

Added subscriber: @mont29
Suchaaver was assigned by Bastien Montagne 2017-02-17 09:12:56 +01:00

It’s not strictly speaking a bug, since what you are naming when creating the texture from Paint mode is the Image datablock itself, not the texture one.

However, totally agree it would make more sense to also name the texture the same way as the image. And this should be a rather easy change, feel free to ask for help if needed. :)

It’s not strictly speaking a bug, since what you are naming when creating the texture from Paint mode is the Image datablock itself, not the texture one. However, totally agree it would make more sense to also name the texture the same way as the image. And this should be a rather easy change, feel free to ask for help if needed. :)
Bastien Montagne changed title from Discrepancy between texture names in paint slots panel of texture paint mode and texture panel in the properties editor. to When creating texture/image in Texture Paint mode, both datablocks should get the same name 2017-02-17 09:14:08 +01:00
Author

Diff submitted. I might want to instead keep the type of texture as the default name for the datablock.

Diff submitted. I might want to instead keep the type of texture as the default name for the datablock.
Author

Actually, it should automatically assign the name of the texture datablock to be "Material " whatever the type is, if nothing else is provided. Still, not sure if "Diffuse Color" is an okay default.

Actually, it should automatically assign the name of the texture datablock to be "Material <TEXTURE TYPE>" whatever the type is, if nothing else is provided. Still, not sure if "Diffuse Color" is an okay default.
Author

Also, who should I add as a reviewer? I added @mont29 because he triaged it, but I'm not sure who else to add.

Also, who should I add as a reviewer? I added @mont29 because he triaged it, but I'm not sure who else to add.

Added subscriber: @bao2

Added subscriber: @bao2

The bug appears only with Blender internal renderer selected. With cycles selected there is no bug.

The bug appears only with Blender internal renderer selected. With cycles selected there is no bug.

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
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
3 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#50704
No description provided.