diff options
author | Ton Roosendaal <ton@blender.org> | 2007-02-09 15:26:25 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2007-02-09 15:26:25 +0300 |
commit | a61e2dce428d7fe9691dcd9207b2379d63134283 (patch) | |
tree | a95f97da7747e31bf21d825fd523f3feebe43f66 /source/blender/src/buttons_shading.c | |
parent | d814f0161035865effaa8407222f3941197319dc (diff) |
Bugfix #5909
UV Image editor: the Nkey panel did now show the buttons for UV values
anymore (was moved to "game properties", incorrect).
Diffstat (limited to 'source/blender/src/buttons_shading.c')
-rw-r--r-- | source/blender/src/buttons_shading.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/src/buttons_shading.c b/source/blender/src/buttons_shading.c index 0cba9846196..514c54a1759 100644 --- a/source/blender/src/buttons_shading.c +++ b/source/blender/src/buttons_shading.c @@ -1148,6 +1148,9 @@ void uiblock_image_panel(uiBlock *block, Image **ima_pp, ImageUser *iuser, uiDefBut(block, LABEL, 0, str, 10, 107, 300, 20, NULL, 1, 0, 0, 0, ""); } + /* exception, let's do because we only use this panel 3 times in blender... but not real good code! */ + if( (G.f & G_FACESELECT) && G.sima && &G.sima->iuser==iuser) + return; /* left side default per-image options, right half the additional options */ /* fields */ |