From 12a45b317493974a240461e869eb1d5f20112ea4 Mon Sep 17 00:00:00 2001 From: Juho Vepsalainen Date: Mon, 1 Dec 2008 06:52:18 +0000 Subject: RNA: brush wrapping Wrapped most of brush. Brush is still missing a link to texture and to BrushClone. Also PAINT_TOOL_DRAW etc. flags found on DNA_brush_types.h need to be associated to a brush somehow. Currently they are linked to a brush via ImagePaintSettings. Also changed identifiers in metaball wrapping to conform with the standards. --- source/blender/makesrna/intern/rna_meta.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/blender/makesrna/intern/rna_meta.c') diff --git a/source/blender/makesrna/intern/rna_meta.c b/source/blender/makesrna/intern/rna_meta.c index 5c6e6c16fe9..d37df339713 100755 --- a/source/blender/makesrna/intern/rna_meta.c +++ b/source/blender/makesrna/intern/rna_meta.c @@ -108,17 +108,17 @@ void RNA_def_metaball(BlenderRNA *brna) RNA_def_property_ui_text(prop, "Update", "Metaball edit update option."); /* Number values */ - prop= RNA_def_property(srna, "Wiresize", PROP_FLOAT, PROP_NONE); + prop= RNA_def_property(srna, "wiresize", PROP_FLOAT, PROP_NONE); RNA_def_property_float_sdna(prop, NULL, "wiresize"); RNA_def_property_range(prop, 0.050f, 1.0f); RNA_def_property_ui_text(prop, "Wiresize", "Polygonization resolution in the 3D viewport."); - prop= RNA_def_property(srna, "Rendersize", PROP_FLOAT, PROP_NONE); + prop= RNA_def_property(srna, "rendersize", PROP_FLOAT, PROP_NONE); RNA_def_property_float_sdna(prop, NULL, "rendersize"); RNA_def_property_range(prop, 0.050f, 1.0f); RNA_def_property_ui_text(prop, "Rendersize", "Polygonization resolution in rendering."); - prop= RNA_def_property(srna, "Threshold", PROP_FLOAT, PROP_NONE); + prop= RNA_def_property(srna, "threshold", PROP_FLOAT, PROP_NONE); RNA_def_property_float_sdna(prop, NULL, "thresh"); RNA_def_property_range(prop, 0.0f, 5.0f); RNA_def_property_ui_text(prop, "Threshold", "Influence of metaelements."); -- cgit v1.2.3