diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-08-19 13:13:15 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-08-19 13:13:15 +0400 |
commit | 0312b183194e703d778e6b989caccdfa35059d13 (patch) | |
tree | 7760904b11743798783ec84092a9320607cc53fc /source/blender/blenloader/intern/readfile.c | |
parent | 2acf0a13546ab0f12774174f18d373e163f0f19a (diff) |
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
Diffstat (limited to 'source/blender/blenloader/intern/readfile.c')
-rw-r--r-- | source/blender/blenloader/intern/readfile.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index 16dd4c9ebd8..96a6913e6e9 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -3400,7 +3400,6 @@ static void direct_link_curve(FileData *fd, Curve *cu) } cu->bev.first = cu->bev.last = NULL; - cu->disp.first = cu->disp.last = NULL; cu->editnurb = NULL; cu->lastsel = NULL; cu->path = NULL; |