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:
authorTom Musgrove <LetterRip@gmail.com>2007-02-06 03:20:33 +0300
committerTom Musgrove <LetterRip@gmail.com>2007-02-06 03:20:33 +0300
commitb67a6ac5b7b1cc262e9278b1d15f00c66d6855ba (patch)
treedad294927180d7ff187c94c192a002375cf634e4 /source/blender/python/api2_2x/Material.c
parent9217f12c76c3d4a3f05969199e7fd142e7cefea1 (diff)
= python bugfix=
flareseed and haloseed minimums were off by one, thanks Carsten for the fix
Diffstat (limited to 'source/blender/python/api2_2x/Material.c')
-rw-r--r--source/blender/python/api2_2x/Material.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/python/api2_2x/Material.c b/source/blender/python/api2_2x/Material.c
index 4dc83ba6ca2..b8de13637ec 100644
--- a/source/blender/python/api2_2x/Material.c
+++ b/source/blender/python/api2_2x/Material.c
@@ -109,11 +109,11 @@
#define EXPP_MAT_HARD_MIN 1
#define EXPP_MAT_HARD_MAX 255 /* 127 with MODE HALO ON */
-#define EXPP_MAT_HALOSEED_MIN 1
+#define EXPP_MAT_HALOSEED_MIN 0
#define EXPP_MAT_HALOSEED_MAX 255
#define EXPP_MAT_NFLARES_MIN 1
#define EXPP_MAT_NFLARES_MAX 32
-#define EXPP_MAT_FLARESEED_MIN 1
+#define EXPP_MAT_FLARESEED_MIN 0
#define EXPP_MAT_FLARESEED_MAX 255
#define EXPP_MAT_NSTARS_MIN 3
#define EXPP_MAT_NSTARS_MAX 50