* cleaning up warnings (mostly windows). A collection of other warning fixes too (undefined function, assuming int, etc.)
This compiled fine with scons/msvc and scons/mingw (gcc 4.4.0). Please test and report any problems.
This commit is contained in:
@@ -32,11 +32,6 @@
|
||||
|
||||
// directory header for py function getBlendFileList
|
||||
#include <stdlib.h>
|
||||
#ifndef WIN32
|
||||
#include <dirent.h>
|
||||
#else
|
||||
#include "BLI_winstuff.h"
|
||||
#endif
|
||||
|
||||
#ifdef WIN32
|
||||
#pragma warning (disable : 4786)
|
||||
@@ -80,8 +75,6 @@ extern "C" {
|
||||
#include "InputParser.h"
|
||||
#include "KX_Scene.h"
|
||||
|
||||
#include "NG_NetworkScene.h" //Needed for sendMessage()
|
||||
|
||||
#include "BL_Shader.h"
|
||||
|
||||
#include "KX_PyMath.h"
|
||||
@@ -111,6 +104,13 @@ extern "C" {
|
||||
#include "BLI_blenlib.h"
|
||||
#include "GPU_material.h"
|
||||
|
||||
#ifndef WIN32
|
||||
#include <dirent.h>
|
||||
#else
|
||||
#include "BLI_winstuff.h"
|
||||
#endif
|
||||
#include "NG_NetworkScene.h" //Needed for sendMessage()
|
||||
|
||||
static void setSandbox(TPythonSecurityLevel level);
|
||||
|
||||
// 'local' copy of canvas ptr, for window height/width python scripts
|
||||
|
||||
Reference in New Issue
Block a user