diff options
author | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2010-05-09 22:05:33 +0400 |
---|---|---|
committer | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2010-05-09 22:05:33 +0400 |
commit | 2385c51360014f19e1d823b8009bd7772adac8d8 (patch) | |
tree | ba9f09800da578544678d2e24425060167bd166a /source/blender/freestyle/intern/python/BPy_FrsNoise.cpp | |
parent | 906a7e69ca9cbce4866420b14f8ad23dea533881 (diff) |
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.
Diffstat (limited to 'source/blender/freestyle/intern/python/BPy_FrsNoise.cpp')
-rw-r--r-- | source/blender/freestyle/intern/python/BPy_FrsNoise.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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 */ |