Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_userdef.c
- This file is larger than 256 KB, so syntax highlighting is disabled by default.
| Show First 20 Lines • Show All 4,979 Lines • ▼ Show 20 Lines | # endif | ||||
| RNA_def_property_ui_text( | RNA_def_property_ui_text( | ||||
| prop, "Duplicate Light Probe", "Causes light probe data to be duplicated with the object"); | prop, "Duplicate Light Probe", "Causes light probe data to be duplicated with the object"); | ||||
| prop = RNA_def_property(srna, "use_duplicate_grease_pencil", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "use_duplicate_grease_pencil", PROP_BOOLEAN, PROP_NONE); | ||||
| RNA_def_property_boolean_sdna(prop, NULL, "dupflag", USER_DUP_GPENCIL); | RNA_def_property_boolean_sdna(prop, NULL, "dupflag", USER_DUP_GPENCIL); | ||||
| RNA_def_property_ui_text( | RNA_def_property_ui_text( | ||||
| prop, "Duplicate GPencil", "Causes grease pencil data to be duplicated with the object"); | prop, "Duplicate GPencil", "Causes grease pencil data to be duplicated with the object"); | ||||
| # ifdef WITH_NEW_OBJECT_TYPES | |||||
| prop = RNA_def_property(srna, "use_duplicate_hair", PROP_BOOLEAN, PROP_NONE); | |||||
| RNA_def_property_boolean_sdna(prop, NULL, "dupflag", USER_DUP_HAIR); | |||||
| RNA_def_property_ui_text( | |||||
| prop, "Duplicate Hair", "Causes hair data to be duplicated with the object"); | |||||
| prop = RNA_def_property(srna, "use_duplicate_pointcloud", PROP_BOOLEAN, PROP_NONE); | |||||
| RNA_def_property_boolean_sdna(prop, NULL, "dupflag", USER_DUP_POINTCLOUD); | |||||
| RNA_def_property_ui_text( | |||||
| prop, "Duplicate Point Cloud", "Causes point cloud data to be duplicated with the object"); | |||||
| # endif | |||||
| prop = RNA_def_property(srna, "use_duplicate_volume", PROP_BOOLEAN, PROP_NONE); | |||||
| RNA_def_property_boolean_sdna(prop, NULL, "dupflag", USER_DUP_VOLUME); | |||||
| RNA_def_property_ui_text( | |||||
| prop, "Duplicate Volume", "Causes volume data to be duplicated with the object"); | |||||
| /* Currently only used for insert offset (aka auto-offset), | /* Currently only used for insert offset (aka auto-offset), | ||||
| * maybe also be useful for later stuff though. */ | * maybe also be useful for later stuff though. */ | ||||
| prop = RNA_def_property(srna, "node_margin", PROP_INT, PROP_PIXEL); | prop = RNA_def_property(srna, "node_margin", PROP_INT, PROP_PIXEL); | ||||
| RNA_def_property_int_sdna(prop, NULL, "node_margin"); | RNA_def_property_int_sdna(prop, NULL, "node_margin"); | ||||
| RNA_def_property_ui_text( | RNA_def_property_ui_text( | ||||
| prop, "Auto-offset Margin", "Minimum distance between nodes for Auto-offsetting nodes"); | prop, "Auto-offset Margin", "Minimum distance between nodes for Auto-offsetting nodes"); | ||||
| RNA_def_property_update(prop, 0, "rna_userdef_update"); | RNA_def_property_update(prop, 0, "rna_userdef_update"); | ||||
| ▲ Show 20 Lines • Show All 1,141 Lines • Show Last 20 Lines | |||||