World Mist
authorThomas Dinges <blender@dingto.org>
Wed, 2 Nov 2011 14:36:21 +0000 (14:36 +0000)
committerThomas Dinges <blender@dingto.org>
Wed, 2 Nov 2011 14:36:21 +0000 (14:36 +0000)
* Removed some more unused stuff and marked as deprecated.

source/blender/makesdna/DNA_world_types.h
source/blender/makesrna/intern/rna_world.c

index 18e175129c1afd461d817feca0578145ce3db05f..2bc384b98a7c04e3328b8f81f73725899cd1f8a7 100644 (file)
@@ -182,7 +182,7 @@ typedef struct World {
 #define WOMAP_HORIZ            2
 #define WOMAP_ZENUP            4
 #define WOMAP_ZENDOWN  8
-#define WOMAP_MIST             16
+#define WOMAP_MIST             16 /* Deprecated */
 
 /* flag */
 #define WO_DS_EXPAND   (1<<0)
index ba769a8d7fc30687d4f6d0048b7f9061c4380f33..21ab9d9c8452333457c60aa82e4734ac181b57b6 100644 (file)
@@ -161,11 +161,6 @@ static void rna_def_world_mtex(BlenderRNA *brna)
        RNA_def_property_ui_text(prop, "Zenith Down", "Affect the color of the zenith below");
        RNA_def_property_update(prop, 0, "rna_World_update");
 
-       /* unused
-       prop= RNA_def_property(srna, "map_mist", PROP_BOOLEAN, PROP_NONE);
-       RNA_def_property_boolean_sdna(prop, NULL, "mapto", WOMAP_MIST);
-       RNA_def_property_ui_text(prop, "Mist", "Causes the texture to affect the intensity of the mist");*/
-
        prop= RNA_def_property(srna, "texture_coords", PROP_ENUM, PROP_NONE);
        RNA_def_property_enum_sdna(prop, NULL, "texco");
        RNA_def_property_enum_items(prop, texco_items);