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-07-31 15:59:06 +0400
committerMaxime Curioni <maxime.curioni@gmail.com>2008-07-31 15:59:06 +0400
commit6a6c23ecd8af6b1216975ad87b1602f618a7a5fd (patch)
tree06c19014d080eb7dec286790eb0d49b278ad3cd5 /source/blender/freestyle/intern/python/Interface1D
parentf09f89d5dcbc5532eeda9f54f0e1163373491083 (diff)
soc-2008-mxcurioni: moved namespace collision resolution to the freestyle_init.py (for Curve, Material and Noise)
Diffstat (limited to 'source/blender/freestyle/intern/python/Interface1D')
-rw-r--r--source/blender/freestyle/intern/python/Interface1D/FEdge/BPy_FEdgeSharp.cpp4
-rw-r--r--source/blender/freestyle/intern/python/Interface1D/FEdge/BPy_FEdgeSmooth.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/freestyle/intern/python/Interface1D/FEdge/BPy_FEdgeSharp.cpp b/source/blender/freestyle/intern/python/Interface1D/FEdge/BPy_FEdgeSharp.cpp
index 22a4dbc378e..8911cc7f290 100644
--- a/source/blender/freestyle/intern/python/Interface1D/FEdge/BPy_FEdgeSharp.cpp
+++ b/source/blender/freestyle/intern/python/Interface1D/FEdge/BPy_FEdgeSharp.cpp
@@ -175,12 +175,12 @@ PyObject * FEdgeSharp_bMaterialIndex( BPy_FEdgeSharp *self ) {
PyObject * FEdgeSharp_aMaterial( BPy_FEdgeSharp *self ) {
Material m( self->fes->aMaterial() );
- return BPy_FrsMaterial_from_Material(m);
+ return BPy_Material_from_Material(m);
}
PyObject * FEdgeSharp_bMaterial( BPy_FEdgeSharp *self ) {
Material m( self->fes->aMaterial() );
- return BPy_FrsMaterial_from_Material(m);
+ return BPy_Material_from_Material(m);
}
PyObject * FEdgeSharp_setNormalA( BPy_FEdgeSharp *self, PyObject *args ) {
diff --git a/source/blender/freestyle/intern/python/Interface1D/FEdge/BPy_FEdgeSmooth.cpp b/source/blender/freestyle/intern/python/Interface1D/FEdge/BPy_FEdgeSmooth.cpp
index 6a11b6c1e98..52b501e0746 100644
--- a/source/blender/freestyle/intern/python/Interface1D/FEdge/BPy_FEdgeSmooth.cpp
+++ b/source/blender/freestyle/intern/python/Interface1D/FEdge/BPy_FEdgeSmooth.cpp
@@ -158,7 +158,7 @@ PyObject * FEdgeSmooth_materialIndex( BPy_FEdgeSmooth *self ) {
PyObject * FEdgeSmooth_material( BPy_FEdgeSmooth *self ) {
Material m( self->fes->material() );
- return BPy_FrsMaterial_from_Material(m);
+ return BPy_Material_from_Material(m);
}
PyObject * FEdgeSmooth_setNormal( BPy_FEdgeSmooth *self, PyObject *args ) {