diff options
author | Juho Vepsalainen <bebraw@gmail.com> | 2008-12-01 09:52:18 +0300 |
---|---|---|
committer | Juho Vepsalainen <bebraw@gmail.com> | 2008-12-01 09:52:18 +0300 |
commit | 12a45b317493974a240461e869eb1d5f20112ea4 (patch) | |
tree | 2de2b5b1c4f802fb04d57f0164a0920e5baa36d5 /source/blender/makesrna/intern/rna_meta.c | |
parent | 669c7a992269877d758df57285416fe2546a28d2 (diff) |
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.
Diffstat (limited to 'source/blender/makesrna/intern/rna_meta.c')
-rwxr-xr-x | source/blender/makesrna/intern/rna_meta.c | 6 |
1 files changed, 3 insertions, 3 deletions
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."); |