Bug fixes:
[blender-staging.git] / source / blender / makesrna / intern / rna_sculpt_paint.c
index 7f8ded7d3eeb7e85fb935bd818e0ede381e8f0e1..481abc983c26b89462939c87cda27d22b86b88b2 100644 (file)
@@ -405,7 +405,7 @@ static void rna_def_particle_edit(BlenderRNA *brna)
        prop= RNA_def_property(srna, "draw_particles", PROP_BOOLEAN, PROP_NONE);
        RNA_def_property_boolean_sdna(prop, NULL, "flag", PE_DRAW_PART);
        RNA_def_property_ui_text(prop, "Draw Particles", "Draw actual particles.");
-       RNA_def_property_update(prop, NC_OBJECT, NULL);
+       RNA_def_property_update(prop, NC_OBJECT|ND_DRAW, NULL);
 
        prop= RNA_def_property(srna, "mirror_x", PROP_BOOLEAN, PROP_NONE);
        RNA_def_property_boolean_sdna(prop, NULL, "flag", PE_X_MIRROR);