[Bf-blender-cvs] [9734506] fluid-mantaflow: hiding fft noise type from gui: currently not supported in mantaflow

Sebastián Barschkis noreply at git.blender.org
Mon Aug 8 01:26:36 CEST 2016


Commit: 9734506289aface6df1724960c4ccbf7a1dbc691
Author: Sebastián Barschkis
Date:   Thu Aug 4 17:41:24 2016 +0200
Branches: fluid-mantaflow
https://developer.blender.org/rB9734506289aface6df1724960c4ccbf7a1dbc691

hiding fft noise type from gui: currently not supported in mantaflow

===================================================================

M	source/blender/makesrna/intern/rna_smoke.c

===================================================================

diff --git a/source/blender/makesrna/intern/rna_smoke.c b/source/blender/makesrna/intern/rna_smoke.c
index f649551..41e71bf 100644
--- a/source/blender/makesrna/intern/rna_smoke.c
+++ b/source/blender/makesrna/intern/rna_smoke.c
@@ -416,8 +416,10 @@ static void rna_def_smoke_domain_settings(BlenderRNA *brna)
 	static EnumPropertyItem prop_noise_type_items[] = {
 		{MOD_SMOKE_NOISEWAVE, "NOISEWAVE", 0, "Wavelet", ""},
 #ifdef WITH_FFTW3
+#ifndef WITH_MANTA
 		{MOD_SMOKE_NOISEFFT, "NOISEFFT", 0, "FFT", ""},
 #endif
+#endif
 		/*  {MOD_SMOKE_NOISECURL, "NOISECURL", 0, "Curl", ""}, */
 		{0, NULL, 0, NULL, NULL}
 	};




More information about the Bf-blender-cvs mailing list