LookDev HDRI map is deleted from disk when removed in Preferences #60430

Closed
opened 2019-01-11 23:00:53 +01:00 by Ryan · 9 comments

Issue: LookDev HDRI images are deleted from local file system when the file is removed from the User Preferences.

Expected Results: When the file is removed from the Preferences panel the file will still remain on disk.

Steps to Reproduce:

  1. Load an HDRI Image in the Preferences panel.
    image.png
    image.png

  2. The LookDev image appears in the Preferences panel and in File Explorer:
    image.png

  3. Click the Minus button in the Preferences panel to remove the HDRI Image:
    image.png

  4. The HDRI Image is removed from the Preferences panel AND the File Explorer.
    image.png

**Issue**: LookDev HDRI images are deleted from local file system when the file is removed from the User Preferences. **Expected Results**: When the file is removed from the Preferences panel the file will still remain on disk. **Steps to Reproduce**: 1. Load an HDRI Image in the Preferences panel. ![image.png](https://archive.blender.org/developer/F6258710/image.png) ![image.png](https://archive.blender.org/developer/F6258718/image.png) 2. The LookDev image appears in the Preferences panel and in File Explorer: ![image.png](https://archive.blender.org/developer/F6258727/image.png) 3. Click the Minus button in the Preferences panel to remove the HDRI Image: ![image.png](https://archive.blender.org/developer/F6258733/image.png) 4. The HDRI Image is removed from the Preferences panel AND the File Explorer. ![image.png](https://archive.blender.org/developer/F6258745/image.png)
Author

Added subscriber: @mrlee

Added subscriber: @mrlee
Author

OS: Windows 10 Education
Blender Beta Version: 2.80 Hash: 80ffa73b3f, Jan 10, 2019

OS: Windows 10 Education Blender Beta Version: 2.80 Hash: 80ffa73b3f87, Jan 10, 2019

Added subscriber: @ThinkingPolygons

Added subscriber: @ThinkingPolygons

Confirmed.
Same with matcaps etc...

Confirmed. Same with matcaps etc...
Jeroen Bakker was assigned by Brecht Van Lommel 2019-02-19 16:02:00 +01:00
Member

@mrlee

When you install a HDRI that file is copied from your source location to the config folder of blender.

For example if you downloaded a file and it is stored in you download folder (in my case it is /home/jeroen/Downloads/MyPrettyHDRI.hdr).

You open Blender and add that file via the UI to the HDRI. Blender will make a copy of that file in your config folder; In my case that is /home/jeroen/.config/blender/2.80/datafiles/studiolights/world/MyPrettyHDRI.hdr. On windows this location is different, but you get the idea. When removing the HDRI via the UI only this copy of the file is removed. The original file should still be there /home/jeroen/Downloads/MyPrettyHDRI.hdr. This is how the system was designed. It is similar how presets are handled within blender.

If I understand you correctly your original file that you downloaded was deleted? eg /home/jeroen/Downloads/MyPrettyHDRI.hdr.

@mrlee When you install a HDRI that file is copied from your source location to the config folder of blender. For example if you downloaded a file and it is stored in you download folder (in my case it is `/home/jeroen/Downloads/MyPrettyHDRI.hdr`). You open Blender and add that file via the UI to the HDRI. Blender will make a copy of that file in your config folder; In my case that is `/home/jeroen/.config/blender/2.80/datafiles/studiolights/world/MyPrettyHDRI.hdr`. On windows this location is different, but you get the idea. When removing the HDRI via the UI only this copy of the file is removed. The original file should still be there `/home/jeroen/Downloads/MyPrettyHDRI.hdr`. This is how the system was designed. It is similar how `presets` are handled within blender. If I understand you correctly your original file that you downloaded was deleted? eg `/home/jeroen/Downloads/MyPrettyHDRI.hdr`.
Author

@Jeroen-Bakker

If I understand you correctly your original file that you downloaded was deleted?

Yes, that is correct. I added the file from a location on my local machine, and when I removed the HDRI image from within Blender, the original file is deleted.

I haven't tried to reproduce this on a more recent build.

@Jeroen-Bakker > If I understand you correctly your original file that you downloaded was deleted? Yes, that is correct. I added the file from a location on my local machine, and when I removed the HDRI image from within Blender, the original file is deleted. I haven't tried to reproduce this on a more recent build.
Author

Well, I just tried it in today's build and I can no longer reproduce. So now it's working as expected.

Well, I just tried it in today's build and I can no longer reproduce. So now it's working as expected.
Member

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Member

Is not reproducable anymore, so closing ticket

Is not reproducable anymore, so closing ticket
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#60430
No description provided.