Revision: 36718 http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=36718 Author: campbellbarton Date: 2011-05-16 18:04:19 +0000 (Mon, 16 May 2011) Log Message: ----------- set clip_start value minimum to 0.001, since 0.0 makes the viewport go very strange.
Modified Paths: -------------- trunk/blender/source/blender/makesrna/intern/rna_camera.c trunk/blender/source/blender/makesrna/intern/rna_sequencer.c trunk/blender/source/blender/makesrna/intern/rna_space.c trunk/blender/source/blender/makesrna/intern/rna_texture.c Modified: trunk/blender/source/blender/makesrna/intern/rna_camera.c =================================================================== --- trunk/blender/source/blender/makesrna/intern/rna_camera.c 2011-05-16 17:54:55 UTC (rev 36717) +++ trunk/blender/source/blender/makesrna/intern/rna_camera.c 2011-05-16 18:04:19 UTC (rev 36718) @@ -108,7 +108,7 @@ prop= RNA_def_property(srna, "clip_start", PROP_FLOAT, PROP_DISTANCE); RNA_def_property_float_sdna(prop, NULL, "clipsta"); - RNA_def_property_range(prop, 0.0f, FLT_MAX); + RNA_def_property_range(prop, 0.001f, FLT_MAX); RNA_def_property_ui_text(prop, "Clip Start", "Camera near clipping distance"); RNA_def_property_update(prop, NC_OBJECT|ND_DRAW, NULL); Modified: trunk/blender/source/blender/makesrna/intern/rna_sequencer.c =================================================================== --- trunk/blender/source/blender/makesrna/intern/rna_sequencer.c 2011-05-16 17:54:55 UTC (rev 36717) +++ trunk/blender/source/blender/makesrna/intern/rna_sequencer.c 2011-05-16 18:04:19 UTC (rev 36718) @@ -1377,7 +1377,7 @@ static void rna_def_adjustment(BlenderRNA *brna) { StructRNA *srna; - PropertyRNA *prop; +// PropertyRNA *prop; srna = RNA_def_struct(brna, "AdjustmentSequence", "Sequence"); RNA_def_struct_ui_text(srna, "Adjustment Layer Sequence", "Sequence strip to perform filter adjustments to layers below"); Modified: trunk/blender/source/blender/makesrna/intern/rna_space.c =================================================================== --- trunk/blender/source/blender/makesrna/intern/rna_space.c 2011-05-16 17:54:55 UTC (rev 36717) +++ trunk/blender/source/blender/makesrna/intern/rna_space.c 2011-05-16 18:04:19 UTC (rev 36718) @@ -1223,7 +1223,7 @@ prop= RNA_def_property(srna, "clip_start", PROP_FLOAT, PROP_DISTANCE); RNA_def_property_float_sdna(prop, NULL, "near"); - RNA_def_property_range(prop, 0.0f, FLT_MAX); + RNA_def_property_range(prop, 0.001f, FLT_MAX); RNA_def_property_ui_text(prop, "Clip Start", "3D View near clipping distance"); RNA_def_property_update(prop, NC_SPACE|ND_SPACE_VIEW3D, NULL); Modified: trunk/blender/source/blender/makesrna/intern/rna_texture.c =================================================================== --- trunk/blender/source/blender/makesrna/intern/rna_texture.c 2011-05-16 17:54:55 UTC (rev 36717) +++ trunk/blender/source/blender/makesrna/intern/rna_texture.c 2011-05-16 18:04:19 UTC (rev 36718) @@ -627,7 +627,7 @@ prop= RNA_def_property(srna, "clip_start", PROP_FLOAT, PROP_NONE); RNA_def_property_float_sdna(prop, NULL, "clipsta"); - RNA_def_property_range(prop, 0.01, FLT_MAX); + RNA_def_property_range(prop, 0.001, FLT_MAX); RNA_def_property_ui_range(prop, 0.01, 50, 100, 2); RNA_def_property_ui_text(prop, "Clip Start", "Objects nearer than this are not visible to map"); RNA_def_property_update(prop, 0, "rna_Texture_update"); _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org http://lists.blender.org/mailman/listinfo/bf-blender-cvs