Blender Git Loki

Git Commits -> Revision 0312b18

Revision 0312b18 by Sergey Sharybin (master)
August 19, 2013, 09:13 (GMT)
Get rid of a display list stored in Curve datablock

This display list was only used for texture space calculation,
and even there this display list was only used for bounding
box calculation.

Since we already do have bounding box in a curve datablock
there's no reason to duplicate non-modified display list
just to calculate bounding box later, let's just calculate
bounding box at the first point.

This makes code a little be more thread-safe but curves are
still not safe for threads at all because of bevel list and
path. That would be solved later.

--
svn merge -r57939:57940 ^/branches/soc-2013-depsgraph_mt

Commit Details:

Full Hash: 0312b183194e703d778e6b989caccdfa35059d13
SVN Revision: 59264
Parent Commit: 2acf0a1
Lines Changed: +31, -69

4 Modified Paths:

/source/blender/blenkernel/intern/curve.c (+7, -31) (Diff)
/source/blender/blenkernel/intern/displist.c (+24, -36) (Diff)
/source/blender/blenloader/intern/readfile.c (+0, -1) (Diff)
/source/blender/makesdna/DNA_curve_types.h (+0, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021