forked from bartvdbraak/blender
use negative boolean option no_zbuf -> use_zbuf
This commit is contained in:
parent
b751bc5ef2
commit
19aa69f6f2
@ -1496,8 +1496,8 @@ static void def_cmp_defocus(StructRNA *srna)
|
|||||||
RNA_def_property_update(prop, NC_NODE|NA_EDITED, "rna_Node_update");
|
RNA_def_property_update(prop, NC_NODE|NA_EDITED, "rna_Node_update");
|
||||||
|
|
||||||
prop = RNA_def_property(srna, "use_zbuffer", PROP_BOOLEAN, PROP_NONE);
|
prop = RNA_def_property(srna, "use_zbuffer", PROP_BOOLEAN, PROP_NONE);
|
||||||
RNA_def_property_boolean_sdna(prop, NULL, "no_zbuf", 1);
|
RNA_def_property_boolean_negative_sdna(prop, NULL, "no_zbuf", 1);
|
||||||
RNA_def_property_ui_text(prop, "Ignore Z-Buffer", "Enable when using an image as input instead of actual zbuffer (auto enabled if node not image based, eg. time node)");
|
RNA_def_property_ui_text(prop, "Use Z-Buffer", "Disable when using an image as input instead of actual zbuffer (auto enabled if node not image based, eg. time node)");
|
||||||
RNA_def_property_update(prop, NC_NODE|NA_EDITED, "rna_Node_update");
|
RNA_def_property_update(prop, NC_NODE|NA_EDITED, "rna_Node_update");
|
||||||
|
|
||||||
prop = RNA_def_property(srna, "z_scale", PROP_FLOAT, PROP_NONE);
|
prop = RNA_def_property(srna, "z_scale", PROP_FLOAT, PROP_NONE);
|
||||||
|
Loading…
Reference in New Issue
Block a user