Only search projects.blender.org
Log In
New Account
Home
My Page
Projects
Blender 2.x BF release
Summary
Activity
Tracker
SCM
Files
Blender 2.6 Bug Tracker: Browse
[#25664] Remove Pack does not work in Texture panel *NEED RE-TEST*
Date:
2011-01-16 16:59
Priority:
3
State:
Closed
Submitted by:
Georg K (
georg
)
Assigned to:
Janne Karhu (jhk)
Category:
Interface
Status:
Fixed / Closed
Relates to:
Duplicates:
Patches:
Summary:
Remove Pack does not work in Texture panel *NEED RE-TEST*
Detailed description
Blender 2.56a, Ubuntu 10.04
#1
It is impossible to remove a packed image via the Unpack File Icon in the texture panel, but in the UV/Image Editor it works fine, not only for images packed in the UV/Image editor but also for those packed via the texture panel.
(#2)
When I'm trying to repack the removed image, the path is being messed up: While the image originally was loaded from /home/georg/Desktop/Testbild.jpg after removing the pack Blender tells "can not get an image" but that's no surprise as it is trying to load /home/georg/Desktop/Desktop/Testbild.jpg
Don't know if that's a separate bug of relative paths or if I am just not supposed to do it this way. Step-by-step instructions to reproduce this second problem:
1) Load an image from the desktop in the texture panel
2) pack it
3) Save the blend to the desktop (saving to home/georg/ one folder above the one of the included image is the only way to prevent this issue)
4) unpack using the UV/Image editor
5) now the path show in the texture panel should
Sorry if Interface is the wrong category for this.
Attached an example file with packed image.
Followup
Message
Date
: 2011-01-17 15:23
Sender
:
Ton Roosendaal
Our "pack" and "unpack" in current 2.5 lacks some work still. In several places this is not indicated even yet.
I'll check on Janne if he likes to adopt this code for maintenance :)
Date
: 2011-01-22 15:44
Sender
:
Janne Karhu
Issue #1 is now fixed, but I couldn't reproduce issue #2 on win 7, so this might be a linux issue with relative paths or it might already be fixed. So first try to get a new recent build from graphicall.org and see if the issue still exists. If it's still there please make a new bug report!
Date
: 2011-01-25 15:51
Sender
:
Georg K
Unless I am doing something very wrong, it is only fixed on WinXP32 (thanks for that !), but on Ubuntu 10.04 x32 it does not work. I tested Blender 2.56 r34477 and r34480 (
http://www.graphicall.org/builds/builds/showbuild.php?action=show&id=1112
http://www.graphicall.org/builds/builds/showbuild.php?action=show&id=1371
)
Date
: 2011-01-26 15:19
Sender
:
Campbell Barton
Can you test since r34506. I could not redo but noticed some strange things here and removed 2 duplicate unpack menus and did some minor cleanup.
Date
: 2011-01-27 21:00
Sender
:
Georg K
tested in r34523, Ubuntu 10.04 x64
case a
:
If I load an image into an unsaved blender file from /home/georg/Desktop/ and realtive paths are active, the path is kept absolute when I'm saving the .blend to the Desktop. When I'm then unpacking and repacking the image, the path still stays absolute.
case b:
If I save the blend at the beginning, the path of a loaded image is relative (realtive paths selected), unpacking and repacking work flawlessly as well.
Either way, #1 and #2 are fixed - thank you !
I'm just not too sure if it would not be better to convert the path in case a to relative after saving the .blend, probably users would assume that behaviour.
Date
: 2011-01-28 13:35
Sender
:
Janne Karhu
Great to hear both issues are now fixed!
Converting paths between relative/absolute without the user knowing is not really nice, but instead the "relative path" option should be grayed out if the file isn't yet saved. The functionality that allows graying out operator properties (such as the "relative paths" property) is not yet implemented, but it will be at some point.
Date
: 2011-01-28 15:07
Sender
:
Georg K
Yes, it's a double-edged sword, especially if "relative paths" is selected in the UserPreferences. It would probably be necessary to notify the user via the warnings box that his settings are being overridden.
Attached Files:
Name
Date
Download
RemovePack bug.blend
2011-01-16 16:59
Download
Changes:
Field
Old Value
Date
By
status_id
Open
2011-01-28 13:35
jhk
close_date
None
2011-01-28 13:35
jhk
Status
Reopened
2011-01-28 13:35
jhk
status_id
Closed
2011-01-26 15:19
campbellbarton
close_date
2011-01-22 15:44
2011-01-26 15:19
campbellbarton
summary
Remove Pack does not work in Texture panel
2011-01-26 15:19
campbellbarton
Status
Fixed / Closed
2011-01-26 15:19
campbellbarton
status_id
Open
2011-01-22 15:44
jhk
close_date
None
2011-01-22 15:44
jhk
Status
Investigate
2011-01-22 15:44
jhk
assigned_to
none
2011-01-17 15:23
ton
Status
New
2011-01-17 15:23
ton
File Added
14568: RemovePack bug.blend
2011-01-16 16:59
georg