Textures disappear when going to Edit Mesh on Solid Texture mode. #95467

Closed
opened 2022-02-03 12:38:36 +01:00 by Justin · 14 comments

System Information
Operating system: Windows-10-10.0.19044-SP0 64 Bits
Graphics card: NVIDIA GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 496.49

Blender Version
Broken: version: 3.1.0 Beta, branch: master, commit date: 2022-02-02 15:25, hash: 43b0ff3054
Worked: 3.0

Caused by 0f89bcdbeb

Short description of error
Going into edit mode makes the texture no longer appear.

Exact steps for others to reproduce the error
Open Blender
Add a new UV checker Image texture or local image texture.
Go into solid view, texture mode.
Texture will deappear and only shows grey mesh.2022-02-03 21-05-02.mp4

**System Information** Operating system: Windows-10-10.0.19044-SP0 64 Bits Graphics card: NVIDIA GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 496.49 **Blender Version** Broken: version: 3.1.0 Beta, branch: master, commit date: 2022-02-02 15:25, hash: `43b0ff3054` Worked: 3.0 Caused by 0f89bcdbeb **Short description of error** Going into edit mode makes the texture no longer appear. **Exact steps for others to reproduce the error** Open Blender Add a new UV checker Image texture or local image texture. Go into solid view, texture mode. Texture will deappear and only shows grey mesh.[2022-02-03 21-05-02.mp4](https://archive.blender.org/developer/F12843497/2022-02-03_21-05-02.mp4)
Author

Added subscriber: @JustinWebster

Added subscriber: @JustinWebster
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

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

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

Can confirm, will check.

Can confirm, will check.
Member

Added subscriber: @Sergey

Added subscriber: @Sergey
Member

Seems like this one is caused by 0f89bcdbeb

@Sergey: mind checking?

Seems like this one is caused by 0f89bcdbeb @Sergey: mind checking?
Author

also happens in 3.2 alpha I forgot to mention.

also happens in 3.2 alpha I forgot to mention.

It would at least be very helpful to have input from the draw manager team. I can not immediately see what is it wrong on the draw manager side, and I can not force textures to appear by forcing UV layer to present. Either it is an issue in the drawing code which is outside of my area, or I need to know what is it exactly is missing/expected from the depsgraph.

It would at least be very helpful to have input from the draw manager team. I can not immediately see what is it wrong on the draw manager side, and I can not force textures to appear by forcing UV layer to present. Either it is an issue in the drawing code which is outside of my area, or I need to know what is it exactly is missing/expected from the depsgraph.

Added subscribers: @Jeroen-Bakker, @fclem

Added subscribers: @Jeroen-Bakker, @fclem
Author

Also just check on my Laptop that has Linux on it (Intel CPU/GPU) and has the same issue, 3.0 works fine.

Also just check on my Laptop that has Linux on it (Intel CPU/GPU) and has the same issue, 3.0 works fine.
Member

Where it fails is that mloopuv isn't available on the mesh. Workbench degrades the drawing back to material color drawing.
This happens in workbench_color_type_get.

Where it fails is that `mloopuv` isn't available on the mesh. Workbench degrades the drawing back to material color drawing. This happens in `workbench_color_type_get`.

This issue was referenced by f75449b5f2

This issue was referenced by f75449b5f2b04b7928781316bf4255676b47150a

Thanks for the investigation!

The longer term proper solution is to make all areas of Blender aware of mesh wrapper. That requires some public API which will take care of specifics of data access though.

For this bugfix I'm proposing D14013.

Thanks for the investigation! The longer term proper solution is to make all areas of Blender aware of mesh wrapper. That requires some public API which will take care of specifics of data access though. For this bugfix I'm proposing [D14013](https://archive.blender.org/developer/D14013).

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Sergey Sharybin self-assigned this 2022-02-04 15:55:12 +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#95467
No description provided.