Blender Git Loki

Git Commits -> Revision 41f0c13

Revision 41f0c13 by Sergey Sharybin (master)
July 2, 2013, 19:22 (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 calulation.

Since we alreayd do have boundgind 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
boundding 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.

Commit Details:

Full Hash: 41f0c137ba7b30a6e15c4aba84c1a7126c5f9bae
SVN Revision: 57940
Parent Commit: 6d9366b
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