diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-09-22 06:03:55 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-09-22 06:04:14 +0400 |
commit | 1004a7db977064b438814b1d11ce513b5e1799fa (patch) | |
tree | 9e1b751e0d3f4e8eaad8bc89a34489f9e808698c /source/blender/blenkernel/intern | |
parent | 61baf6e8135d11bc53cbfa45c75f910a99e57971 (diff) |
Correct MAX_LIBARRAY define, assert when its wrong
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r-- | source/blender/blenkernel/intern/library.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/library.c b/source/blender/blenkernel/intern/library.c index 515287de336..15a4a83bef6 100644 --- a/source/blender/blenkernel/intern/library.c +++ b/source/blender/blenkernel/intern/library.c @@ -620,6 +620,8 @@ int set_listbasepointers(Main *main, ListBase **lb) lb[a] = NULL; + BLI_assert(a == MAX_LIBARRAY); + return a; } |