Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorJoshua Leung <aligorith@gmail.com>2010-02-01 02:49:04 +0300
committerJoshua Leung <aligorith@gmail.com>2010-02-01 02:49:04 +0300
commit8c5645669b2bebdeb4a59fb73462b3ace97d202b (patch)
treeda7c054055a3874a438ac040067cf532681452bf /source
parent87bbb2d827064a4fd59ffc77cc2dcbc31f02ce4f (diff)
Fixed a few lingering compiler warnings with the bpy_app stuff
Diffstat (limited to 'source')
-rw-r--r--source/blender/python/intern/bpy_app.c2
-rw-r--r--source/blender/python/intern/bpy_interface.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/python/intern/bpy_app.c b/source/blender/python/intern/bpy_app.c
index ed0b88b59a7..440db76aafe 100644
--- a/source/blender/python/intern/bpy_app.c
+++ b/source/blender/python/intern/bpy_app.c
@@ -124,4 +124,6 @@ PyObject *BPY_app_struct(void)
/* prevent user from creating new instances */
BlenderAppType.tp_init = NULL;
BlenderAppType.tp_new = NULL;
+
+ return ret;
}
diff --git a/source/blender/python/intern/bpy_interface.c b/source/blender/python/intern/bpy_interface.c
index 7074f507aca..1c15f311cd6 100644
--- a/source/blender/python/intern/bpy_interface.c
+++ b/source/blender/python/intern/bpy_interface.c
@@ -38,6 +38,7 @@
#include "compile.h" /* for the PyCodeObject */
#include "eval.h" /* for PyEval_EvalCode */
+#include "bpy_app.h"
#include "bpy_rna.h"
#include "bpy_props.h"
#include "bpy_operator.h"