Blender Git Loki

Git Commits -> Revision 9443f4a

Revision 9443f4a by Antonis Ryakiotakis (soc-2013-paint)
August 29, 2013, 22:10 (GMT)
Speedup for new texture selection system: Cache the texture paint image
on the material. This makes it possible to avoid looping through all
material slots. Since there are quite a few lookups per face for this
image, better only calculate the result once.

Commit Details:

Full Hash: 9443f4aaf59251a2d8c89eb9e6d5e9c8362e91e6
SVN Revision: 59645
Parent Commit: fe73f0a
Lines Changed: +61, -9

6 Modified Paths:

/source/blender/blenkernel/BKE_material.h (+3, -1) (Diff)
/source/blender/blenkernel/intern/material.c (+46, -4) (Diff)
/source/blender/editors/sculpt_paint/paint_image_proj.c (+2, -1) (Diff)
/source/blender/editors/sculpt_paint/paint_utils.c (+3, -1) (Diff)
/source/blender/editors/space_view3d/drawmesh.c (+5, -2) (Diff)
/source/blender/makesdna/DNA_material_types.h (+2, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021