RNA:
authorNicholas Bishop <nicholasbishop@gmail.com>
Sat, 28 Nov 2009 18:37:56 +0000 (18:37 +0000)
committerNicholas Bishop <nicholasbishop@gmail.com>
Sat, 28 Nov 2009 18:37:56 +0000 (18:37 +0000)
* Added ND_DRAW flag to particle selection mode update

source/blender/makesrna/intern/rna_sculpt_paint.c

index d78ecaa0b469e887e031d76d3194459694530bf4..6cfd38ba26e794697f7c2d20bfaa3a75332f5bb1 100644 (file)
@@ -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);