diff options
author | Willian Padovani Germano <wpgermano@gmail.com> | 2004-04-25 18:43:21 +0400 |
---|---|---|
committer | Willian Padovani Germano <wpgermano@gmail.com> | 2004-04-25 18:43:21 +0400 |
commit | 2d24298b91f895f8f894591c0a7c9b857213be94 (patch) | |
tree | cbf963f6abfc02d83eab2380e53e0a029de77f7a /source/blender/python/api2_2x/Noise.c | |
parent | 395c1152c80d781b386125ca8da605f3893aa322 (diff) |
BPython:
-- epydoc Documentation for eeshlo's Noise module + small typo fix in Noise.c
-- BPY_end_python closes .blend file opened by Library module when script doesn't do it by itself.
Diffstat (limited to 'source/blender/python/api2_2x/Noise.c')
-rw-r--r-- | source/blender/python/api2_2x/Noise.c | 37 |
1 files changed, 36 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/Noise.c b/source/blender/python/api2_2x/Noise.c index 0f48d03e0af..c42b3487131 100644 --- a/source/blender/python/api2_2x/Noise.c +++ b/source/blender/python/api2_2x/Noise.c @@ -1,3 +1,38 @@ +/** + * $Id$ + * + * Blender.Noise BPython module implementation. + * This submodule has functions to generate noise of various types. + * + * ***** BEGIN GPL/BL DUAL LICENSE BLOCK ***** + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. The Blender + * Foundation also sells licenses for use in proprietary software under + * the Blender License. See http://www.blender.org/BL/ for information + * about this. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * The Original Code is Copyright (C) 2001-2002 by NaN Holding BV. + * All rights reserved. + * + * This is a new part of Blender. + * + * Contributor(s): eeshlo + * + * ***** END GPL/BL DUAL LICENSE BLOCK ***** +*/ + /************************/ /* Blender Noise Module */ /************************/ @@ -520,7 +555,7 @@ PyObject *Noise_Init() BPy_constant *dm = (BPy_constant *)DistanceMetrics; constant_insert(dm, "DISTANCE", PyInt_FromLong(TEX_DISTANCE)); constant_insert(dm, "DISTANCE_SQUARED", PyInt_FromLong(TEX_DISTANCE_SQUARED)); - constant_insert(dm, "MAHATTAN", PyInt_FromLong(TEX_MANHATTAN)); + constant_insert(dm, "MANHATTAN", PyInt_FromLong(TEX_MANHATTAN)); constant_insert(dm, "CHEBYCHEV", PyInt_FromLong(TEX_CHEBYCHEV)); constant_insert(dm, "MINKOVSKY_HALF", PyInt_FromLong(TEX_MINKOVSKY_HALF)); constant_insert(dm, "MINKOVSKY_FOUR", PyInt_FromLong(TEX_MINKOVSKY_FOUR)); |