Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_particle.c
| Show First 20 Lines • Show All 3,425 Lines • ▼ Show 20 Lines | |||||
| /* keyed particles */ | /* keyed particles */ | ||||
| prop = RNA_def_property(srna, "keyed_loops", PROP_INT, PROP_NONE); | prop = RNA_def_property(srna, "keyed_loops", PROP_INT, PROP_NONE); | ||||
| RNA_def_property_int_sdna(prop, NULL, "keyed_loops"); | RNA_def_property_int_sdna(prop, NULL, "keyed_loops"); | ||||
| RNA_def_property_range(prop, 1.0f, 10000.0f); | RNA_def_property_range(prop, 1.0f, 10000.0f); | ||||
| RNA_def_property_ui_range(prop, 1.0f, 100.0f, 1, 3); | RNA_def_property_ui_range(prop, 1.0f, 100.0f, 1, 3); | ||||
| RNA_def_property_ui_text(prop, "Loop Count", "Number of times the keys are looped"); | RNA_def_property_ui_text(prop, "Loop Count", "Number of times the keys are looped"); | ||||
| RNA_def_property_update(prop, 0, "rna_Particle_redo"); | RNA_def_property_update(prop, 0, "rna_Particle_redo"); | ||||
| /* modified dm support */ | /* Evaluated mesh support. */ | ||||
| prop = RNA_def_property(srna, "use_modifier_stack", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "use_modifier_stack", PROP_BOOLEAN, PROP_NONE); | ||||
| RNA_def_property_boolean_sdna(prop, NULL, "use_modifier_stack", 0); | RNA_def_property_boolean_sdna(prop, NULL, "use_modifier_stack", 0); | ||||
| RNA_def_property_ui_text( | RNA_def_property_ui_text( | ||||
| prop, | prop, | ||||
| "Use Modifier Stack", | "Use Modifier Stack", | ||||
| "Emit particles from mesh with modifiers applied " | "Emit particles from mesh with modifiers applied " | ||||
| "(must use same subdivision surface level for viewport and render for correct results)"); | "(must use same subdivision surface level for viewport and render for correct results)"); | ||||
| RNA_def_property_update(prop, 0, "rna_Particle_change_type"); | RNA_def_property_update(prop, 0, "rna_Particle_change_type"); | ||||
| ▲ Show 20 Lines • Show All 612 Lines • Show Last 20 Lines | |||||