Changeset View
Changeset View
Standalone View
Standalone View
source/blender/imbuf/intern/thumbs.c
| Context not available. | |||||
| } | } | ||||
| else { | else { | ||||
| if (ELEM(source, THB_SOURCE_IMAGE, THB_SOURCE_BLEND, THB_SOURCE_FONT)) { | if (ELEM(source, THB_SOURCE_IMAGE, THB_SOURCE_BLEND, THB_SOURCE_FONT)) { | ||||
| /* only load if we didnt give an image */ | /* only load if we didn't give an image */ | ||||
| if (img == NULL) { | if (img == NULL) { | ||||
| switch (source) { | switch (source) { | ||||
| case THB_SOURCE_IMAGE: | case THB_SOURCE_IMAGE: | ||||
| Context not available. | |||||