Using ICON_NONE causes textures to be referenced even though nothing is ultimately drawn. This adds an early exit for this value, and also changes the type of it from ICON_TYPE_COLOR_TEXTURE (used to display a full-color bitmap) to ICON_TYPE_MONO_TEXTURE (normal one-color type now coming from SVG). Pull Request: https://projects.blender.org/blender/blender/pulls/123609