diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-02-28 17:57:26 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-02-28 17:57:26 +0300 |
commit | ed7f4f2e3cc19e6c90b678b87617d2a19ddc3da3 (patch) | |
tree | 9cd8cb96e8e34d5f0a9d96785a5ce028e8d5c21f /source/blender/python | |
parent | c1cd33e166fa0b0f9419ec9d8a19d124452019d3 (diff) |
make BGL and BLF modile names lowercase
Diffstat (limited to 'source/blender/python')
-rw-r--r-- | source/blender/python/doc/sphinx_doc_gen.py | 2 | ||||
-rw-r--r-- | source/blender/python/generic/bgl.c (renamed from source/blender/python/generic/BGL.c) | 4 | ||||
-rw-r--r-- | source/blender/python/generic/bgl.h (renamed from source/blender/python/generic/BGL.h) | 0 | ||||
-rw-r--r-- | source/blender/python/generic/blf.c (renamed from source/blender/python/generic/BLF.c) | 4 | ||||
-rw-r--r-- | source/blender/python/generic/blf.h (renamed from source/blender/python/generic/BLF.h) | 0 | ||||
-rw-r--r-- | source/blender/python/intern/bpy.c | 4 |
6 files changed, 7 insertions, 7 deletions
diff --git a/source/blender/python/doc/sphinx_doc_gen.py b/source/blender/python/doc/sphinx_doc_gen.py index f2fc58c5653..dc32c1c1399 100644 --- a/source/blender/python/doc/sphinx_doc_gen.py +++ b/source/blender/python/doc/sphinx_doc_gen.py @@ -333,7 +333,7 @@ def rna2sphinx(BASEPATH): del module import BLF as module - pymodule2sphinx(BASEPATH, "BLF", module, "Blender Font Drawing (BLF)") + pymodule2sphinx(BASEPATH, "blf", module, "Blender Font Drawing (blf)") del module if 0: diff --git a/source/blender/python/generic/BGL.c b/source/blender/python/generic/bgl.c index 340ebbe3dcd..b17d25ae784 100644 --- a/source/blender/python/generic/BGL.c +++ b/source/blender/python/generic/bgl.c @@ -32,7 +32,7 @@ * implementation. The BGL submodule "wraps" OpenGL functions and constants, * allowing script writers to make OpenGL calls in their Python scripts. */ -#include "BGL.h" /*This must come first */ +#include "bgl.h" /*This must come first */ #include <GL/glew.h> #include "MEM_guardedalloc.h" @@ -1095,7 +1095,7 @@ static struct PyMethodDef BGL_methods[] = { static struct PyModuleDef BGL_module_def = { PyModuleDef_HEAD_INIT, - "BGL", /* m_name */ + "bgl", /* m_name */ 0, /* m_doc */ 0, /* m_size */ BGL_methods, /* m_methods */ diff --git a/source/blender/python/generic/BGL.h b/source/blender/python/generic/bgl.h index 89bade930ce..89bade930ce 100644 --- a/source/blender/python/generic/BGL.h +++ b/source/blender/python/generic/bgl.h diff --git a/source/blender/python/generic/BLF.c b/source/blender/python/generic/blf.c index df1497f6573..52fe860f988 100644 --- a/source/blender/python/generic/BLF.c +++ b/source/blender/python/generic/blf.c @@ -23,7 +23,7 @@ */ #include <Python.h> -#include "BLF.h" +#include "blf.h" #include "../../blenfont/BLF_api.h" @@ -175,7 +175,7 @@ static char BLF_doc[] = static struct PyModuleDef BLF_module_def = { PyModuleDef_HEAD_INIT, - "BLF", /* m_name */ + "blf", /* m_name */ BLF_doc, /* m_doc */ 0, /* m_size */ BLF_methods, /* m_methods */ diff --git a/source/blender/python/generic/BLF.h b/source/blender/python/generic/blf.h index 0a0e97934e2..0a0e97934e2 100644 --- a/source/blender/python/generic/BLF.h +++ b/source/blender/python/generic/blf.h diff --git a/source/blender/python/intern/bpy.c b/source/blender/python/intern/bpy.c index 12979cd5811..dfbad7aa610 100644 --- a/source/blender/python/intern/bpy.c +++ b/source/blender/python/intern/bpy.c @@ -37,8 +37,8 @@ /* external util modules */ #include "../generic/Mathutils.h" #include "../generic/Geometry.h" -#include "../generic/BGL.h" -#include "../generic/BLF.h" +#include "../generic/bgl.h" +#include "../generic/blf.h" #include "../generic/IDProp.h" static char bpy_home_paths_doc[] = |