From 2385c51360014f19e1d823b8009bd7772adac8d8 Mon Sep 17 00:00:00 2001 From: Tamito Kajiyama Date: Sun, 9 May 2010 18:05:33 +0000 Subject: Renamed FrsCurve, FrsNoise and FrsMaterial Python extension types to those names without the "Frs" prefix. These types are part of the Freestyle module, so that there is no need to make their names globally unique. --- source/blender/freestyle/intern/python/BPy_FrsNoise.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/blender/freestyle/intern/python/BPy_FrsNoise.cpp') diff --git a/source/blender/freestyle/intern/python/BPy_FrsNoise.cpp b/source/blender/freestyle/intern/python/BPy_FrsNoise.cpp index d9d2540c1e8..bd2b5a4dad0 100644 --- a/source/blender/freestyle/intern/python/BPy_FrsNoise.cpp +++ b/source/blender/freestyle/intern/python/BPy_FrsNoise.cpp @@ -19,7 +19,7 @@ int FrsNoise_Init( PyObject *module ) return -1; Py_INCREF( &FrsNoise_Type ); - PyModule_AddObject(module, "FrsNoise", (PyObject *)&FrsNoise_Type); + PyModule_AddObject(module, "Noise", (PyObject *)&FrsNoise_Type); return 0; } @@ -49,7 +49,7 @@ static void FrsNoise___dealloc__(BPy_FrsNoise* self) static PyObject * FrsNoise___repr__(BPy_FrsNoise* self) { - return PyUnicode_FromFormat("FrsNoise - address: %p", self->n ); + return PyUnicode_FromFormat("Noise - address: %p", self->n ); } static char FrsNoise_turbulence1___doc__[] = @@ -228,7 +228,7 @@ static PyMethodDef BPy_FrsNoise_methods[] = { PyTypeObject FrsNoise_Type = { PyVarObject_HEAD_INIT(NULL, 0) - "FrsNoise", /* tp_name */ + "Noise", /* tp_name */ sizeof(BPy_FrsNoise), /* tp_basicsize */ 0, /* tp_itemsize */ (destructor)FrsNoise___dealloc__, /* tp_dealloc */ -- cgit v1.2.3