[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [22896] branches/blender2.5/blender/source /blender/makesrna/intern/rna_world.c: 2.5 Mist/Camera:
Thomas Dinges
dingto at gmx.de
Sun Aug 30 21:26:19 CEST 2009
Revision: 22896
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=22896
Author: dingto
Date: 2009-08-30 21:26:18 +0200 (Sun, 30 Aug 2009)
Log Message:
-----------
2.5 Mist/Camera:
Changing Mist values didn't update the mist camera drawing in 3D View, when enabled.
Bug reported by Julian|H. Thanks!
Modified Paths:
--------------
branches/blender2.5/blender/source/blender/makesrna/intern/rna_world.c
Modified: branches/blender2.5/blender/source/blender/makesrna/intern/rna_world.c
===================================================================
--- branches/blender2.5/blender/source/blender/makesrna/intern/rna_world.c 2009-08-30 19:02:48 UTC (rev 22895)
+++ branches/blender2.5/blender/source/blender/makesrna/intern/rna_world.c 2009-08-30 19:26:18 UTC (rev 22896)
@@ -324,12 +324,14 @@
RNA_def_property_range(prop, 0, FLT_MAX);
RNA_def_property_ui_range(prop, 0, 10000, 10, 2);
RNA_def_property_ui_text(prop, "Start", "Starting distance of the mist, measured from the camera");
+ RNA_def_property_update(prop, NC_OBJECT|ND_DRAW, NULL);
prop= RNA_def_property(srna, "depth", PROP_FLOAT, PROP_DISTANCE);
RNA_def_property_float_sdna(prop, NULL, "mistdist");
RNA_def_property_range(prop, 0, FLT_MAX);
RNA_def_property_ui_range(prop, 0, 10000, 10, 2);
RNA_def_property_ui_text(prop, "Depth", "The distance over which the mist effect fades in");
+ RNA_def_property_update(prop, NC_OBJECT|ND_DRAW, NULL);
prop= RNA_def_property(srna, "height", PROP_FLOAT, PROP_DISTANCE);
RNA_def_property_float_sdna(prop, NULL, "misthi");
More information about the Bf-blender-cvs
mailing list