Save Copy - Does not maintain state of packed + edited images #92285

Open
opened 2021-10-17 11:09:42 +02:00 by Netherby · 4 comments

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

Blender Version
Broken: version: 2.93.4, branch: master, commit date: 2021-08-31 09:23, hash: b7205031ce
Worked: Never?

Short description of error
When using the 'Save Copy' function (from File menu or via op: wm.save_as_mainfile(copy=True)), packed images that have not been individually saved since their last change do not have those changes maintained in the saved copy.

Exact steps for others to reproduce the error
Create an image, set it to 'Packed', edit it in some way. Now use the 'Save Copy' function to create a copy of the blend file. Open the new copy and your edits to the packed file will be missing.
Workaround is to save all images before using the Save Copy function. However the current behavior is not intuitive and makes it easy to lose changes when creating backup copies of your working file.
There is also the case where you may want to have your current edits ONLY in the saved copy and not save them in the current mainfile, which currently is impossible to have happen.

**System Information** Operating system: Windows-10-10.0.19041-SP0 64 Bits Graphics card: GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 456.71 **Blender Version** Broken: version: 2.93.4, branch: master, commit date: 2021-08-31 09:23, hash: `b7205031ce` Worked: Never? **Short description of error** When using the 'Save Copy' function (from File menu or via op: wm.save_as_mainfile(copy=True)), packed images that have not been individually saved since their last change do not have those changes maintained in the saved copy. **Exact steps for others to reproduce the error** Create an image, set it to 'Packed', edit it in some way. Now use the 'Save Copy' function to create a copy of the blend file. Open the new copy and your edits to the packed file will be missing. Workaround is to save all images before using the Save Copy function. However the current behavior is not intuitive and makes it easy to lose changes when creating backup copies of your working file. There is also the case where you may want to have your current edits ONLY in the saved copy and not save them in the current mainfile, which currently is impossible to have happen.
Author

Added subscriber: @JerahmyPocott

Added subscriber: @JerahmyPocott
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

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

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

Hi and thx for the report.

Blender currently only saves images separately from the .blend file (even packed images).
This is also true for regular saving (having unsaved edits on a packed image will also get lost).

This is definitely a workflow issue (not sure this can be classified as bug though), since 2.8 blender will prompt to save those changes when you leave the file (quit or open another file), but the core issue remains.
#45636 (Texture paint doesn't prompt user to save painted textures) is very much related, but since the prompt to save modified images does not trigger on Save Copy (and it probably should -- since you are effectively leaving that saved copy), I will leave this report separate for now. would kindly ask module devs for further input on this matter.

Hi and thx for the report. Blender currently only saves images separately from the .blend file (even packed images). This is also true for regular saving (having unsaved edits on a packed image will also get lost). This is definitely a workflow issue (not sure this can be classified as bug though), since 2.8 blender will prompt to save those changes when you leave the file (quit or open another file), but the core issue remains. #45636 (Texture paint doesn't prompt user to save painted textures) is very much related, but since the prompt to save modified images does not trigger on `Save Copy` (and it probably should -- since you are effectively leaving that saved copy), I will leave this report separate for now. would kindly ask module devs for further input on this matter.
Philipp Oeser removed the
Interest
Sculpt, Paint & Texture
label 2023-02-10 09:11:45 +01:00
Bart van der Braak added
Type
Bug
and removed
Type
Report
labels 2024-08-14 13:23:33 +02:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Code Documentation
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
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
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
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
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
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
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
2 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#92285
No description provided.