From a6f33fc4440e6a99236c1fcd53008ba7f78ea3b1 Mon Sep 17 00:00:00 2001 From: Janne Karhu Date: Tue, 12 Feb 2008 16:36:03 +0000 Subject: Fix for bug: [#8271] Changes to the texture settings for particle attributes are not updated - Material buttons code didn't set particles update flag - Small change to how particle emit time is interpreted from textures, now the "time" texture output can actually be used for something --- source/blender/src/buttons_shading.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/src/buttons_shading.c') diff --git a/source/blender/src/buttons_shading.c b/source/blender/src/buttons_shading.c index 673f835cc49..ea3b7b81dd3 100644 --- a/source/blender/src/buttons_shading.c +++ b/source/blender/src/buttons_shading.c @@ -3095,7 +3095,7 @@ void do_matbuts(unsigned short event) ob=base->object; for(psys=ob->particlesystem.first; psys; psys=psys->next) { if(psys && ma==give_current_material(ob,psys->part->omat)) { - psys->flag |= PSYS_INIT; + psys->recalc |= PSYS_INIT; DAG_object_flush_update(G.scene, ob, OB_RECALC_DATA); } -- cgit v1.2.3