RNA:
* Added ND_DRAW flag to particle selection mode update
This commit is contained in:
@@ -380,7 +380,7 @@ static void rna_def_particle_edit(BlenderRNA *brna)
|
||||
RNA_def_property_enum_bitflag_sdna(prop, NULL, "selectmode");
|
||||
RNA_def_property_enum_items(prop, select_mode_items);
|
||||
RNA_def_property_ui_text(prop, "Selection Mode", "Particle select and display mode.");
|
||||
RNA_def_property_update(prop, NC_OBJECT, "rna_ParticleEdit_update");
|
||||
RNA_def_property_update(prop, NC_OBJECT|ND_DRAW, "rna_ParticleEdit_update");
|
||||
|
||||
prop= RNA_def_property(srna, "keep_lengths", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "flag", PE_KEEP_LENGTHS);
|
||||
|
||||
Reference in New Issue
Block a user