Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_particle.c
| Show First 20 Lines • Show All 2,680 Lines • ▼ Show 20 Lines | static void rna_def_particle_settings(BlenderRNA *brna) | ||||
| prop = RNA_def_property(srna, "use_absolute_path_time", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "use_absolute_path_time", PROP_BOOLEAN, PROP_NONE); | ||||
| RNA_def_property_boolean_sdna(prop, NULL, "draw", PART_ABS_PATH_TIME); | RNA_def_property_boolean_sdna(prop, NULL, "draw", PART_ABS_PATH_TIME); | ||||
| RNA_def_property_ui_text(prop, "Absolute Path Time", "Path timing is in absolute frames"); | RNA_def_property_ui_text(prop, "Absolute Path Time", "Path timing is in absolute frames"); | ||||
| RNA_def_property_update(prop, 0, "rna_Particle_abspathtime_update"); | RNA_def_property_update(prop, 0, "rna_Particle_abspathtime_update"); | ||||
| prop = RNA_def_property(srna, "use_parent_particles", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "use_parent_particles", PROP_BOOLEAN, PROP_NONE); | ||||
| RNA_def_property_boolean_sdna(prop, NULL, "draw", PART_DRAW_PARENT); | RNA_def_property_boolean_sdna(prop, NULL, "draw", PART_DRAW_PARENT); | ||||
| RNA_def_property_ui_text(prop, "Parents", "Render parent particles"); | RNA_def_property_ui_text(prop, "Parents", "Render parent particles"); | ||||
| RNA_def_property_translation_context(prop, BLT_I18NCONTEXT_ID_PARTICLESETTINGS); | |||||
| RNA_def_property_update(prop, 0, "rna_Particle_redo"); | RNA_def_property_update(prop, 0, "rna_Particle_redo"); | ||||
| prop = RNA_def_property(srna, "show_number", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "show_number", PROP_BOOLEAN, PROP_NONE); | ||||
| RNA_def_property_boolean_sdna(prop, NULL, "draw", PART_DRAW_NUM); | RNA_def_property_boolean_sdna(prop, NULL, "draw", PART_DRAW_NUM); | ||||
| RNA_def_property_ui_text(prop, "Number", "Show particle number"); | RNA_def_property_ui_text(prop, "Number", "Show particle number"); | ||||
| RNA_def_property_update(prop, 0, "rna_Particle_redo"); | RNA_def_property_update(prop, 0, "rna_Particle_redo"); | ||||
| prop = RNA_def_property(srna, "use_collection_pick_random", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "use_collection_pick_random", PROP_BOOLEAN, PROP_NONE); | ||||
| ▲ Show 20 Lines • Show All 1,354 Lines • Show Last 20 Lines | |||||