Blender Git Loki

Git Commits -> Revision 05cfe50

Revision 05cfe50 by Ton Roosendaal (master)
January 2, 2011, 19:46 (GMT)
Bugfix #25446 (and todo item)

The icons for materials were always lagging or not updating
at all. I also found it suspicious slow...
It appeared that the icons now store a "mip level", where for
every change in Materials 2 render jobs for icons were started,
one for 32x32 pix, one for 96x96. The latter was cancelling out
the first job almost always.

Also made preview renders detect size, to set amount of tiles
to be rendered. Small icons use 1 part, larger previews 16 now.

All in all, behaves much smoother now! But, will also update
the thread Jobs manager to allow "delayed jobs" like for icons,
these are aggressively put as first in the jobs list.

Commit Details:

Full Hash: 05cfe50436a97b45c36e3a044faaf15c266066c0
SVN Revision: 34013
Parent Commit: 5d6c76c
Lines Changed: +30, -16

4 Modified Paths:

/source/blender/blenkernel/intern/material.c (+3, -2) (Diff)
/source/blender/editors/interface/interface_templates.c (+5, -5) (Diff)
/source/blender/editors/render/render_preview.c (+16, -5) (Diff)
/source/blender/windowmanager/intern/wm_jobs.c (+6, -4) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021