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:
Diffstat (limited to 'source/blender/freestyle/intern/python/BPy_Id.h')
-rw-r--r--source/blender/freestyle/intern/python/BPy_Id.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/source/blender/freestyle/intern/python/BPy_Id.h b/source/blender/freestyle/intern/python/BPy_Id.h
index f5952297c66..51a70a391b1 100644
--- a/source/blender/freestyle/intern/python/BPy_Id.h
+++ b/source/blender/freestyle/intern/python/BPy_Id.h
@@ -26,12 +26,8 @@ extern "C" {
#include <iostream>
-using namespace std;
-
#include "../system/Id.h"
-using namespace Freestyle;
-
#ifdef __cplusplus
extern "C" {
#endif
@@ -44,7 +40,7 @@ extern PyTypeObject Id_Type;
/*---------------------------Python BPy_Id structure definition----------*/
typedef struct {
- PyObject_HEAD Id *id;
+ PyObject_HEAD Freestyle::Id *id;
} BPy_Id;
/*---------------------------Python BPy_Id visible prototypes-----------*/