Commit: 3f627c38a2bc4aff0cd44155ee043bd09ba5f283
Author: Jeroen Bakker
Date:   Thu Jan 19 08:25:28 2023 +0100
Branches: master
https://developer.blender.org/rB3f627c38a2bc4aff0cd44155ee043bd09ba5f283

Fix test cases by reducing the severity of the bgl error message to warning.

===================================================================

M       source/blender/python/generic/bgl.c

===================================================================

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);

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to