forked from bartvdbraak/blender
World Mist
* Removed some more unused stuff and marked as deprecated.
This commit is contained in:
parent
e07389ccb8
commit
e1594ebb3c
@ -182,7 +182,7 @@ typedef struct World {
|
|||||||
#define WOMAP_HORIZ 2
|
#define WOMAP_HORIZ 2
|
||||||
#define WOMAP_ZENUP 4
|
#define WOMAP_ZENUP 4
|
||||||
#define WOMAP_ZENDOWN 8
|
#define WOMAP_ZENDOWN 8
|
||||||
#define WOMAP_MIST 16
|
#define WOMAP_MIST 16 /* Deprecated */
|
||||||
|
|
||||||
/* flag */
|
/* flag */
|
||||||
#define WO_DS_EXPAND (1<<0)
|
#define WO_DS_EXPAND (1<<0)
|
||||||
|
@ -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_ui_text(prop, "Zenith Down", "Affect the color of the zenith below");
|
||||||
RNA_def_property_update(prop, 0, "rna_World_update");
|
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);
|
prop= RNA_def_property(srna, "texture_coords", PROP_ENUM, PROP_NONE);
|
||||||
RNA_def_property_enum_sdna(prop, NULL, "texco");
|
RNA_def_property_enum_sdna(prop, NULL, "texco");
|
||||||
RNA_def_property_enum_items(prop, texco_items);
|
RNA_def_property_enum_items(prop, texco_items);
|
||||||
|
Loading…
Reference in New Issue
Block a user