Changeset View
Changeset View
Standalone View
Standalone View
source/blender/python/intern/bpy.c
| Context not available. | |||||
| #include <Python.h> | #include <Python.h> | ||||
| #include "CLG_log.h" | |||||
| #include "BLI_utildefines.h" | #include "BLI_utildefines.h" | ||||
| #include "BLI_string.h" | #include "BLI_string.h" | ||||
| Context not available. | |||||
| PyObject *bpy_package_py = NULL; | PyObject *bpy_package_py = NULL; | ||||
| static CLG_LogRef LOG = { "bpy.main" }; | |||||
| PyDoc_STRVAR(bpy_script_paths_doc, | PyDoc_STRVAR(bpy_script_paths_doc, | ||||
| ".. function:: script_paths()\n" | ".. function:: script_paths()\n" | ||||
| "\n" | "\n" | ||||
| Context not available. | |||||
| Py_DECREF(py_modpath); | Py_DECREF(py_modpath); | ||||
| } | } | ||||
| else { | else { | ||||
| printf("bpy: couldnt find 'scripts/modules', blender probably wont start.\n"); | CLOG_WARN(&LOG, "couldnt find 'scripts/modules', blender probably wont start."); | ||||
| } | } | ||||
| /* stand alone utility modules not related to blender directly */ | /* stand alone utility modules not related to blender directly */ | ||||
| IDProp_Init_Types(); /* not actually a submodule, just types */ | IDProp_Init_Types(); /* not actually a submodule, just types */ | ||||
| Context not available. | |||||