Version: *SU16.1 - 1.39.12 ASOBO exporter 3.3.1
Frequency: Consistently*
Severity: *Low - don’t use Blender 4.5
Context: What package? When editing or mounted from Community? In main menu or in flight? etc…
Bug description:
bgl code in blender 4.5 (warning starts at 4.0) to not use bgl for the gizmo, use gpu
WARN (bgl): C:\Users\blender\git\blender-v450\blender.git\source\blender\python\generic\bgl.cc:2673 BPyInit_bgl: 'bgl' imported without an OpenGL backend. Please update your add-ons to use the 'gpu' module.
Traceback (most recent call last):
File "C:\Users\ronh9\AppData\Roaming\Blender Foundation\Blender\4.5\scripts\addons\io_scene_gltf2_msfs_2020\blender\gizmo.py", line 204, in draw
bgl.glEnable(bgl.GL_BLEND)
TypeError: 'NoneType' object is not callable
Traceback (most recent call last):
File "C:\Users\ronh9\AppData\Roaming\Blender Foundation\Blender\4.5\scripts\addons\io_scene_gltf2_msfs_2020\blender\gizmo.py", line 204, in draw
WARNing in 3.6
WARN (bgl): C:\Users\blender\git\blender-v360\blender.git\source\blender\python\generic\bgl.c:54 report_deprecated_call: 'bgl.glEnable' is deprecated and will be removed in Blender 4.0. Report or update your script to use 'gpu' module.
Repro steps:
make cube
make collision mesh cube
Don’t get a cube for collision mesh - see error
Attachments:
Private attachments: Send a PM to @PrivateContent with the link to this topic and the link to download your content