Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_collection.c
| Show First 20 Lines • Show All 593 Lines • ▼ Show 20 Lines | static const EnumPropertyItem rna_collection_lineart_usage[] = { | ||||
| 0, | 0, | ||||
| "Intersection Only", | "Intersection Only", | ||||
| "Only generate intersection lines for this collection"}, | "Only generate intersection lines for this collection"}, | ||||
| {COLLECTION_LRT_NO_INTERSECTION, | {COLLECTION_LRT_NO_INTERSECTION, | ||||
| "NO_INTERSECTION", | "NO_INTERSECTION", | ||||
| 0, | 0, | ||||
| "No Intersection", | "No Intersection", | ||||
| "Include this collection but do not generate intersection lines"}, | "Include this collection but do not generate intersection lines"}, | ||||
| {COLLECTION_LRT_FORCE_INTERSECTION, | |||||
| "FORCE_INTERSECTION", | |||||
| 0, | |||||
| "Force Intersection", | |||||
| "Generate intersection lines even with objects that disabled intersection"}, | |||||
| {0, NULL, 0, NULL, NULL}}; | {0, NULL, 0, NULL, NULL}}; | ||||
| prop = RNA_def_property(srna, "lineart_usage", PROP_ENUM, PROP_NONE); | prop = RNA_def_property(srna, "lineart_usage", PROP_ENUM, PROP_NONE); | ||||
| RNA_def_property_enum_items(prop, rna_collection_lineart_usage); | RNA_def_property_enum_items(prop, rna_collection_lineart_usage); | ||||
| RNA_def_property_ui_text(prop, "Usage", "How to use this collection in line art"); | RNA_def_property_ui_text(prop, "Usage", "How to use this collection in line art"); | ||||
| RNA_def_property_update(prop, NC_SCENE, NULL); | RNA_def_property_update(prop, NC_SCENE, NULL); | ||||
| prop = RNA_def_property(srna, "lineart_use_intersection_mask", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "lineart_use_intersection_mask", PROP_BOOLEAN, PROP_NONE); | ||||
| Show All 40 Lines | |||||