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:
authorMaxime Curioni <maxime.curioni@gmail.com>2008-08-01 06:25:21 +0400
committerMaxime Curioni <maxime.curioni@gmail.com>2008-08-01 06:25:21 +0400
commitc324f0cbc72b47182ba3d7fd1bbd280fcebe3283 (patch)
tree27b53c8ed01e51f078724ac8f7783d05bfb9dd24 /source/blender/freestyle/intern/python/BPy_Convert.cpp
parent4580fd1415d92ed882744e2617f5ac05e895452f (diff)
soc-2008-mxcurioni: clean-up #2
Diffstat (limited to 'source/blender/freestyle/intern/python/BPy_Convert.cpp')
-rw-r--r--source/blender/freestyle/intern/python/BPy_Convert.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/freestyle/intern/python/BPy_Convert.cpp b/source/blender/freestyle/intern/python/BPy_Convert.cpp
index 53a4e171e74..e7d98440683 100644
--- a/source/blender/freestyle/intern/python/BPy_Convert.cpp
+++ b/source/blender/freestyle/intern/python/BPy_Convert.cpp
@@ -1,7 +1,7 @@
#include "BPy_Convert.h"
#include "BPy_BBox.h"
-#include "BPy_Material.h"
+#include "BPy_FrsMaterial.h"
#include "BPy_Id.h"
#include "BPy_IntegrationType.h"
#include "BPy_Interface0D.h"
@@ -190,9 +190,9 @@ PyObject * BPy_ViewShape_from_ViewShape( ViewShape& vs ) {
return py_vs;
}
-PyObject * BPy_Material_from_Material( Material& m ){
- PyObject *py_m = Material_Type.tp_new( &Material_Type, 0, 0 );
- ((BPy_Material*) py_m)->m = new Material( m );
+PyObject * BPy_FrsMaterial_from_Material( Material& m ){
+ PyObject *py_m = FrsMaterial_Type.tp_new( &FrsMaterial_Type, 0, 0 );
+ ((BPy_FrsMaterial*) py_m)->m = new Material( m );
return py_m;
}