make BGL and BLF modile names lowercase
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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 */
|
||||
@@ -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 */
|
||||
@@ -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[] =
|
||||
|
||||
Reference in New Issue
Block a user