forked from bartvdbraak/blender
parent
9b20cecd22
commit
b951c2be7f
@ -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);
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user