Revision: 41466
          
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=41466
Author:   dingto
Date:     2011-11-02 14:36:21 +0000 (Wed, 02 Nov 2011)
Log Message:
-----------
World Mist
* Removed some more unused stuff and marked as deprecated. 

Modified Paths:
--------------
    trunk/blender/source/blender/makesdna/DNA_world_types.h
    trunk/blender/source/blender/makesrna/intern/rna_world.c

Modified: trunk/blender/source/blender/makesdna/DNA_world_types.h
===================================================================
--- trunk/blender/source/blender/makesdna/DNA_world_types.h     2011-11-02 
14:33:14 UTC (rev 41465)
+++ trunk/blender/source/blender/makesdna/DNA_world_types.h     2011-11-02 
14:36:21 UTC (rev 41466)
@@ -182,7 +182,7 @@
 #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)

Modified: trunk/blender/source/blender/makesrna/intern/rna_world.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_world.c    2011-11-02 
14:33:14 UTC (rev 41465)
+++ trunk/blender/source/blender/makesrna/intern/rna_world.c    2011-11-02 
14:36:21 UTC (rev 41466)
@@ -161,11 +161,6 @@
        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);

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to