diff options
author | Ton Roosendaal <ton@blender.org> | 2006-11-27 16:00:50 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2006-11-27 16:00:50 +0300 |
commit | 2e0084c2d9bc53adf0a9589e71ed89841d34eb65 (patch) | |
tree | 16e3f3037bf2663e12c6d8a8e1e51db2ee4a9d59 /source/blender/src/headerbuttons.c | |
parent | 3ccfa7709eb59c2a048a06d88adb26b1f7596f7c (diff) |
IRC reported bug:
When linking a referenced (Library) Image to a texture face, it wasn't
tagged to become saved in file. So you lost data.
Also fixed: tooltip for the "Li" icons was wrong.
Diffstat (limited to 'source/blender/src/headerbuttons.c')
-rw-r--r-- | source/blender/src/headerbuttons.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/src/headerbuttons.c b/source/blender/src/headerbuttons.c index 03f5972ee0f..26169c89345 100644 --- a/source/blender/src/headerbuttons.c +++ b/source/blender/src/headerbuttons.c @@ -334,8 +334,8 @@ int std_libbuttons(uiBlock *block, short xco, short yco, if(id->lib) { - if(parid && parid->lib) uiDefIconBut(block, BUT, 0, ICON_DATALIB,xco,yco,XIC,YIC, 0, 0, 0, 0, 0, "Displays name of the current Indirect Library Datablock. Click to change."); - else uiDefIconBut(block, BUT, lib, ICON_PARLIB, xco,yco,XIC,YIC, 0, 0, 0, 0, 0, "Displays current Library Datablock name. Click to make local."); + if(id->flag & LIB_INDIRECT) uiDefIconBut(block, BUT, 0, ICON_DATALIB,xco,yco,XIC,YIC, 0, 0, 0, 0, 0, "Indirect Library Datablock. Cannot change."); + else uiDefIconBut(block, BUT, lib, ICON_PARLIB, xco,yco,XIC,YIC, 0, 0, 0, 0, 0, "Direct linked Library Datablock. Click to make local."); xco+= XIC; } |