Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_nodetree.c
- This file is larger than 256 KB, so syntax highlighting is disabled by default.
| Show First 20 Lines • Show All 5,717 Lines • ▼ Show 20 Lines | # if 0 | ||||
| RNA_def_property_enum_sdna(prop, NULL, "custom1"); | RNA_def_property_enum_sdna(prop, NULL, "custom1"); | ||||
| RNA_def_property_enum_items(prop, type_items); | RNA_def_property_enum_items(prop, type_items); | ||||
| RNA_def_property_ui_text(prop, "Type", "Type of inpaint algorithm"); | RNA_def_property_ui_text(prop, "Type", "Type of inpaint algorithm"); | ||||
| RNA_def_property_update(prop, NC_NODE | NA_EDITED, "rna_Node_update"); | RNA_def_property_update(prop, NC_NODE | NA_EDITED, "rna_Node_update"); | ||||
| # endif | # endif | ||||
| prop = RNA_def_property(srna, "distance", PROP_INT, PROP_NONE); | prop = RNA_def_property(srna, "distance", PROP_INT, PROP_NONE); | ||||
| RNA_def_property_int_sdna(prop, NULL, "custom2"); | RNA_def_property_int_sdna(prop, NULL, "custom2"); | ||||
| RNA_def_property_range(prop, 1, 10000); | RNA_def_property_range(prop, 0, 10000); | ||||
| RNA_def_property_ui_text(prop, "Distance", "Distance to inpaint (number of iterations)"); | RNA_def_property_ui_text(prop, "Distance", "Distance to inpaint (number of iterations)"); | ||||
| RNA_def_property_update(prop, NC_NODE | NA_EDITED, "rna_Node_update"); | RNA_def_property_update(prop, NC_NODE | NA_EDITED, "rna_Node_update"); | ||||
| } | } | ||||
| static void def_cmp_despeckle(StructRNA *srna) | static void def_cmp_despeckle(StructRNA *srna) | ||||
| { | { | ||||
| PropertyRNA *prop; | PropertyRNA *prop; | ||||
| ▲ Show 20 Lines • Show All 3,684 Lines • Show Last 20 Lines | |||||