[Bf-blender-cvs] [b4605f61589] master: Console: Add gpu python module to list of internal modules.

Jeroen Bakker noreply at git.blender.org
Mon Sep 26 08:40:38 CEST 2022


Commit: b4605f61589e67bcdccc599632ae523bafdf65fe
Author: Jeroen Bakker
Date:   Mon Sep 26 08:18:17 2022 +0200
Branches: master
https://developer.blender.org/rBb4605f61589e67bcdccc599632ae523bafdf65fe

Console: Add gpu python module to list of internal modules.

The python GPU module was not mentioned in the list of internal
modules. Adding the GPU module to the list allows curious users
to find it.

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

M	release/scripts/modules/console_python.py

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

diff --git a/release/scripts/modules/console_python.py b/release/scripts/modules/console_python.py
index 2aa4caab7f6..5cf55d3c3b5 100644
--- a/release/scripts/modules/console_python.py
+++ b/release/scripts/modules/console_python.py
@@ -325,7 +325,7 @@ def banner(context):
         "PYTHON INTERACTIVE CONSOLE %s" % version_string,
         "",
         "Builtin Modules:       "
-        "bpy, bpy.data, bpy.ops, bpy.props, bpy.types, bpy.context, bpy.utils, bgl, blf, mathutils",
+        "bpy, bpy.data, bpy.ops, bpy.props, bpy.types, bpy.context, bpy.utils, bgl, gpu, blf, mathutils",
 
         "Convenience Imports:   from mathutils import *; from math import *",
         "Convenience Variables: C = bpy.context, D = bpy.data",



More information about the Bf-blender-cvs mailing list