diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-02-17 23:37:23 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-02-17 23:37:23 +0300 |
commit | ec8c8f08ba8a216d27962eff275a09034c69aa83 (patch) | |
tree | 14c3f3505666f779681a74117a5531aef09d1a78 /source/blender/editors/interface/interface_utils.c | |
parent | 573e14c592fcc61b228d3814c4d9d47009ddc11e (diff) |
2.5: Image space, two fixes:
* With one item in ID databrowse list, you couldn't activate it.
* Render result without render image now displays grid at size
according to render settings again.
Diffstat (limited to 'source/blender/editors/interface/interface_utils.c')
-rw-r--r-- | source/blender/editors/interface/interface_utils.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/editors/interface/interface_utils.c b/source/blender/editors/interface/interface_utils.c index 8b44409ea02..2c17e9c6219 100644 --- a/source/blender/editors/interface/interface_utils.c +++ b/source/blender/editors/interface/interface_utils.c @@ -440,7 +440,7 @@ static void idpoin_cb(bContext *C, void *arg_params, void *arg_event) for(idtest=lb->first, nr=1; idtest; idtest=idtest->next, nr++) { if(nr==params->browsenr) { - if(id == idtest) + if(*id_p == idtest) return; *id_p= idtest; @@ -1128,7 +1128,5 @@ void curvemap_buttons(uiBlock *block, CurveMapping *cumap, char labeltype, short uiDefBut(block, BUT_CURVE, event, "", rect->xmin, rect->ymin, rect->xmax-rect->xmin, fy-rect->ymin, cumap, 0.0f, 1.0f, 0, 0, ""); - } - |