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
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2009-06-22 22:19:18 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2009-06-22 22:19:18 +0400
commite7d02e567990b8cac05565501e0b74a9bb195a6d (patch)
tree3e96cef1967c7c07e421303a2ebe6c984fa2f2ee /source/blender/editors
parentbce3f7e019c174947a0f98063f39533eb59ab03e (diff)
2.5: warning fixes
Mostly harmless ones, except for one about "gzopen64" being undeclared. This needs some defines in BLI_storage.h to be set before <unistd.h> is included. Might fix a crash in compressed file reading, though I'm not sure since it's hard to repeat the crash consistently.
Diffstat (limited to 'source/blender/editors')
-rw-r--r--source/blender/editors/space_text/text_header.c2
-rw-r--r--source/blender/editors/space_view3d/view3d_view.c3
2 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/editors/space_text/text_header.c b/source/blender/editors/space_text/text_header.c
index 1b8149cb5a2..c761587198f 100644
--- a/source/blender/editors/space_text/text_header.c
+++ b/source/blender/editors/space_text/text_header.c
@@ -88,6 +88,7 @@
/* ************************ header area region *********************** */
#ifndef DISABLE_PYTHON
+#if 0
static void do_text_template_scriptsmenu(bContext *C, void *arg, int event)
{
// XXX BPY_menu_do_python(PYMENU_SCRIPTTEMPLATE, event);
@@ -154,6 +155,7 @@ static uiBlock *text_plugin_scriptsmenu(bContext *C, void *args_unused)
return block;
}
#endif
+#endif
/************************** properties ******************************/
diff --git a/source/blender/editors/space_view3d/view3d_view.c b/source/blender/editors/space_view3d/view3d_view.c
index 2db5f2c97fd..782d426641f 100644
--- a/source/blender/editors/space_view3d/view3d_view.c
+++ b/source/blender/editors/space_view3d/view3d_view.c
@@ -76,11 +76,12 @@
#include "UI_resources.h"
#include "UI_view2d.h"
+#include "GPU_draw.h"
+
#include "PIL_time.h" /* smoothview */
#include "view3d_intern.h" // own include
-
/* use this call when executing an operator,
event system doesn't set for each event the
opengl drawing context */