[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [22661] branches/blender2.5/blender/source /blender/makesrna/intern/rna_texture.c: 2.5 Texture RNA:

Thomas Dinges dingto at gmx.de
Thu Aug 20 19:59:37 CEST 2009


Revision: 22661
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=22661
Author:   dingto
Date:     2009-08-20 19:59:37 +0200 (Thu, 20 Aug 2009)

Log Message:
-----------
2.5 Texture RNA:
Distorted Noise: "Distortion" Flag was swapped with "Basis".
Reported by schuh in IRC. Thanks. 

Modified Paths:
--------------
    branches/blender2.5/blender/source/blender/makesrna/intern/rna_texture.c

Modified: branches/blender2.5/blender/source/blender/makesrna/intern/rna_texture.c
===================================================================
--- branches/blender2.5/blender/source/blender/makesrna/intern/rna_texture.c	2009-08-20 17:37:38 UTC (rev 22660)
+++ branches/blender2.5/blender/source/blender/makesrna/intern/rna_texture.c	2009-08-20 17:59:37 UTC (rev 22661)
@@ -1286,13 +1286,13 @@
 	RNA_def_property_update(prop, NC_TEXTURE, NULL);
 
 	prop= RNA_def_property(srna, "noise_basis", PROP_ENUM, PROP_NONE);
-	RNA_def_property_enum_sdna(prop, NULL, "noisebasis");
+	RNA_def_property_enum_sdna(prop, NULL, "noisebasis2");
 	RNA_def_property_enum_items(prop, prop_noise_basis_items);
 	RNA_def_property_ui_text(prop, "Noise Basis", "Sets the noise basis used for turbulence");
 	RNA_def_property_update(prop, NC_TEXTURE, NULL);
 
 	prop= RNA_def_property(srna, "noise_distortion", PROP_ENUM, PROP_NONE);
-	RNA_def_property_enum_sdna(prop, NULL, "noisebasis2");
+	RNA_def_property_enum_sdna(prop, NULL, "noisebasis");
 	RNA_def_property_enum_items(prop, prop_noise_basis_items);
 	RNA_def_property_ui_text(prop, "Noise Distortion", "Sets the noise basis for the distortion");
 	RNA_def_property_update(prop, NC_TEXTURE, NULL);





More information about the Bf-blender-cvs mailing list