readfile: skip negative sized thumbnails
authorCampbell Barton <ideasman42@gmail.com>
Mon, 11 Feb 2019 08:09:27 +0000 (19:09 +1100)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 11 Feb 2019 08:09:27 +0000 (19:09 +1100)
commit1724ff29e03c9748504cbe92b3b9e4f22db01122
treeec5fffe0af8a2f2b18d2c3ced4c849b4b966845d
parent3ce5e5a85778bc339b5275198beb74d90fc65334
readfile: skip negative sized thumbnails

We may want to use 'TEST' BCode in the future for including data
besides thumbnails. This allows negative values to be used w/o
attempting to load a thumbnail.
source/blender/blenkernel/BKE_main.h
source/blender/blenloader/intern/readfile.c