diff options
author | Ton Roosendaal <ton@blender.org> | 2006-02-13 22:27:16 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2006-02-13 22:27:16 +0300 |
commit | ff7f544dec26e98cf13e9c736fd79950b6c2f8c0 (patch) | |
tree | feff7339bca6fde4d97f91294028bbdfc8a859ff /source/blender/src/interface_icons.c | |
parent | f9d7f9ea45bb9e2b53150186dbc697e519738436 (diff) |
Preview rendering improvement;
Until now, on each mouse/key event preview render restarted with first tile.
It now rememers where it was, and continues rendering.
Also tried to get threaded preview working, but its more work than I can
spend right now. Back to bugs :)
Diffstat (limited to 'source/blender/src/interface_icons.c')
-rw-r--r-- | source/blender/src/interface_icons.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/src/interface_icons.c b/source/blender/src/interface_icons.c index 9ec60571fb7..36f6513880e 100644 --- a/source/blender/src/interface_icons.c +++ b/source/blender/src/interface_icons.c @@ -684,7 +684,8 @@ static void icon_set_image(ID* id, DrawInfo* di) if (!di->rect) di->rect = MEM_callocN(di->rw*di->rh*sizeof(unsigned int), "laprevrect"); - ri.cury = 0; + ri.curtile= 0; + ri.tottile= 0; ri.rect = NULL; ri.pr_rectx = di->rw; ri.pr_recty = di->rh; |