Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorMonique Dewanchand <m.dewanchand@atmind.nl>2012-05-22 00:36:02 +0400
committerMonique Dewanchand <m.dewanchand@atmind.nl>2012-05-22 00:36:02 +0400
commitb951c2be7f26caea266e3a27d9701b0374bdcad5 (patch)
tree5098f5a052846eb4bf72c872a0aa404dfd9d4f7d /source
parent9b20cecd22bb5debe8ff83f01db1a0a08dba38ce (diff)
fix for
[#31502] Defocus max radius help tekst
Diffstat (limited to 'source')
-rw-r--r--source/blender/makesrna/intern/rna_nodetree.c2
-rw-r--r--source/blender/nodes/composite/nodes/node_composite_defocus.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_nodetree.c b/source/blender/makesrna/intern/rna_nodetree.c
index e8ec8d8bb83..3406a940967 100644
--- a/source/blender/makesrna/intern/rna_nodetree.c
+++ b/source/blender/makesrna/intern/rna_nodetree.c
@@ -2427,7 +2427,7 @@ static void def_cmp_defocus(StructRNA *srna)
prop = RNA_def_property(srna, "blur_max", PROP_FLOAT, PROP_NONE);
RNA_def_property_float_sdna(prop, NULL, "maxblur");
RNA_def_property_range(prop, 0.0f, 10000.0f);
- RNA_def_property_ui_text(prop, "Max Blur", "Blur limit, maximum CoC radius, 0=no limit");
+ RNA_def_property_ui_text(prop, "Max Blur", "Blur limit, maximum CoC radius");
RNA_def_property_update(prop, NC_NODE|NA_EDITED, "rna_Node_update");
prop = RNA_def_property(srna, "threshold", PROP_FLOAT, PROP_NONE);
diff --git a/source/blender/nodes/composite/nodes/node_composite_defocus.c b/source/blender/nodes/composite/nodes/node_composite_defocus.c
index 4c1c4e28c8d..1a6e3fb1675 100644
--- a/source/blender/nodes/composite/nodes/node_composite_defocus.c
+++ b/source/blender/nodes/composite/nodes/node_composite_defocus.c
@@ -868,7 +868,7 @@ static void node_composit_init_defocus(bNodeTree *UNUSED(ntree), bNode* node, bN
nbd->gamco = 0;
nbd->samples = 16;
nbd->fstop = 128.f;
- nbd->maxblur = 0;
+ nbd->maxblur = 16;
nbd->bthresh = 1.f;
nbd->scale = 1.f;
nbd->no_zbuf = 1;