[#24593] Cloud Depth setting above 30 cause texture corruption
authorCampbell Barton <ideasman42@gmail.com>
Sun, 7 Nov 2010 22:48:51 +0000 (22:48 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sun, 7 Nov 2010 22:48:51 +0000 (22:48 +0000)
commit8b27e83e5c9a2b34c5ff65169a47508730f287f7
tree744ce45b6329e1bb2110ab4dadca478031bb993c
parent6de12ac8530655c771c5c62c74f2b26a79d50a00
[#24593] Cloud Depth setting above 30 cause texture corruption
disallow cloud depth over 30, it causes a lot of floating point exceptions (and nan value pixels), because of hitting the int limit with 1<<(oct+1) in BLI_gTurbulence
source/blender/makesdna/DNA_texture_types.h
source/blender/makesrna/intern/rna_texture.c