change Image.source in Image Texture does not refresh corretly #52902

Closed
opened 2017-09-26 03:53:28 +02:00 by Lee June · 10 comments

bug.blend

System Information
Win7 64 bits

Blender Version
official 2.79 and blender-2.79-a8f11f5-win64.zip(Mon Sep 25 03:13:13 2017 )

Exact steps for others to reproduce the error

  1. set node for lamp as http://www.creativeshrimp.com/wp-content/uploads/2014/12/texture_02.jpg says, and select a image file form local disk
  2. change "Single Image" in "image texture" to "Generated"
  3. change "Generated" in "image texture" to "Single Image". now the lamp is pink. We have to select the image file on disk again
[bug.blend](https://archive.blender.org/developer/F875592/bug.blend) **System Information** Win7 64 bits **Blender Version** official 2.79 and blender-2.79-a8f11f5-win64.zip(Mon Sep 25 03:13:13 2017 ) **Exact steps for others to reproduce the error** 1. set node for lamp as http://www.creativeshrimp.com/wp-content/uploads/2014/12/texture_02.jpg says, and select a image file form local disk 2. change "Single Image" in "image texture" to "Generated" 2. change "Generated" in "image texture" to "Single Image". now the lamp is pink. We have to select the image file on disk again
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @retsyo

Added subscriber: @retsyo

#53088 was marked as duplicate of this issue

#53088 was marked as duplicate of this issue

Added subscriber: @zeauro

Added subscriber: @zeauro

Problem does not occur when source change make sense. "Single Image" to "Image Sequence" or "Movie".

Generated source type is there to create an image from scratch.
It is source type used when you press the + New button.

From a logical point of view, it does not make sense to keep in memory image path to support such changes.
Because a conscious user have no benefit to make this operation.
When you create a new image from scratch, you will save it.
You will not open an image to create a new one to go back to previous one.

But from a pratical point of view, source change can be done by a Ctrl Wheel operation hovering the node.
If wheel is moved in correct sense, you changed image source from "Single Image" to "Image Sequence".
If user turned the wheel in the wrong sense, image source is changed to Generated type and he have to reopen the file.
That's a little UI issue.

Problem does not occur when source change make sense. "Single Image" to "Image Sequence" or "Movie". Generated source type is there to create an image from scratch. It is source type used when you press the + New button. From a logical point of view, it does not make sense to keep in memory image path to support such changes. Because a conscious user have no benefit to make this operation. When you create a new image from scratch, you will save it. You will not open an image to create a new one to go back to previous one. But from a pratical point of view, source change can be done by a Ctrl Wheel operation hovering the node. If wheel is moved in correct sense, you changed image source from "Single Image" to "Image Sequence". If user turned the wheel in the wrong sense, image source is changed to Generated type and he have to reopen the file. That's a little UI issue.
Member

Added subscribers: @Sergey, @LazyDodo

Added subscribers: @Sergey, @LazyDodo
Sergey Sharybin was assigned by Ray molenkamp 2017-09-28 19:37:43 +02:00
Member

Can redo the issue, but unsure if this is expected behavior or not. @Sergey?

Can redo the issue, but unsure if this is expected behavior or not. @Sergey?
Member

Added subscriber: @ArtturiMantysaari

Added subscriber: @ArtturiMantysaari

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'

Changing image source type clears the file path. This prevents accidents like reported in #37718 from being happening.

Maybe it's possible to find a better solution, but that's handled outside of the bug tracker.

Changing image source type clears the file path. This prevents accidents like reported in #37718 from being happening. Maybe it's possible to find a better solution, but that's handled outside of the bug tracker.
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#52902
No description provided.