Fix: buttons previewrender was re-rendering on scrolling a lot, this due
authorTon Roosendaal <ton@blender.org>
Mon, 30 Jan 2006 19:39:05 +0000 (19:39 +0000)
committerTon Roosendaal <ton@blender.org>
Mon, 30 Jan 2006 19:39:05 +0000 (19:39 +0000)
commited81ff405fc6f0b459c368107343962502c99e37
tree88b615de0768ebc4e5897a0d6719318558b5906f
parent1c3ece991591c3a939235bc9c63c9f939eab3ed6
Fix: buttons previewrender was re-rendering on scrolling a lot, this due
to rounding noise when trying to detect if previewsize changed. Made it
use a threshold now.

Fix: SHIFT+P in editmode is still push/pull, outside editmode it'll do
the preview render. (Note; editmode changes are not updated anyway!)
source/blender/src/buttons_scene.c
source/blender/src/previewrender.c
source/blender/src/space.c