soc-2008-mxcurioni: first version of lib3ds code. It does NOT work yet and has to...
[blender.git] / source / blender / freestyle / intern / python / BPy_Convert.cpp
index 5f4b7098f291c25bd2350ce7d36fae6dd0f97308..38eeced69581c857b9fcee77be72b64369ee9c40 100644 (file)
@@ -190,9 +190,9 @@ PyObject * BPy_ViewShape_from_ViewShape( ViewShape& vs ) {
        return py_vs;
 }
 
-PyObject * BPy_FrsMaterial_from_Material( Material& m ){
+PyObject * BPy_FrsMaterial_from_FrsMaterial( FrsMaterial& m ){
        PyObject *py_m = FrsMaterial_Type.tp_new( &FrsMaterial_Type, 0, 0 );
-       ((BPy_FrsMaterial*) py_m)->m = new Material( m );
+       ((BPy_FrsMaterial*) py_m)->m = new FrsMaterial( m );
 
        return py_m;
 }