diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-01-02 16:47:33 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-01-02 16:47:33 +0300 |
commit | a371f5513a749dcebe789f2e00870083f26725b4 (patch) | |
tree | 62a01872745182ae9d3e4b001a99f38c74acaeb3 /source/blender/makesrna/intern/rna_world.c | |
parent | 326b3122cf6ff2018c94ac4cdc43c21a69039ad8 (diff) |
RNA
* Added skeleton code for particle/object_force/userdef.
* More Object properties wrapped.
* Added User Preferences display in outliner.
Diffstat (limited to 'source/blender/makesrna/intern/rna_world.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_world.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source/blender/makesrna/intern/rna_world.c b/source/blender/makesrna/intern/rna_world.c index faf8a17363b..ef6905ad19f 100644 --- a/source/blender/makesrna/intern/rna_world.c +++ b/source/blender/makesrna/intern/rna_world.c @@ -24,7 +24,6 @@ #include <stdlib.h> -#include "RNA_access.h" #include "RNA_define.h" #include "RNA_types.h" @@ -68,19 +67,16 @@ void RNA_def_world(BlenderRNA *brna) prop= RNA_def_property(srna, "horizon_color", PROP_FLOAT, PROP_COLOR); RNA_def_property_float_sdna(prop, NULL, "horr"); RNA_def_property_array(prop, 3); - RNA_def_property_range(prop, 0.0, 1.0); RNA_def_property_ui_text(prop, "Horizon Color", "Color at the horizon."); prop= RNA_def_property(srna, "zenith_color", PROP_FLOAT, PROP_COLOR); RNA_def_property_float_sdna(prop, NULL, "zenr"); RNA_def_property_array(prop, 3); - RNA_def_property_range(prop, 0.0, 1.0); RNA_def_property_ui_text(prop, "Zenith Color", "Color at the zenith."); prop= RNA_def_property(srna, "ambient_color", PROP_FLOAT, PROP_COLOR); RNA_def_property_float_sdna(prop, NULL, "ambr"); RNA_def_property_array(prop, 3); - RNA_def_property_range(prop, 0.0, 1.0); RNA_def_property_ui_text(prop, "Ambient Color", ""); /* exp, range */ |