From 3f627c38a2bc4aff0cd44155ee043bd09ba5f283 Mon Sep 17 00:00:00 2001 From: Jeroen Bakker Date: Thu, 19 Jan 2023 08:25:28 +0100 Subject: [PATCH] Fix test cases by reducing the severity of the bgl error message to warning. --- source/blender/python/generic/bgl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/blender/python/generic/bgl.c b/source/blender/python/generic/bgl.c index c77dabfb539..f62f427542d 100644 --- a/source/blender/python/generic/bgl.c +++ b/source/blender/python/generic/bgl.c @@ -2644,9 +2644,9 @@ PyObject *BPyInit_bgl(void) } if (GPU_backend_get_type() != GPU_BACKEND_OPENGL) { - CLOG_ERROR(&LOG, - "'bgl' imported without an OpenGL backend. Please update your add-ons to use the " - "'gpu' module. In Blender 3.7 'bgl' will be removed."); + CLOG_WARN(&LOG, + "'bgl' imported without an OpenGL backend. Please update your add-ons to use the " + "'gpu' module. In Blender 3.7 'bgl' will be removed."); } PyModule_AddObject(submodule, "Buffer", (PyObject *)&BGL_bufferType);