Misleading defaults for smoke flow particle system:
* Show unborn was on by default, so smoke got emitted from all particles regardless of their birth time, not a good default in my opinion. * What made things worse was that particles weren't shown in viewport, so you didn't even know the particles were considered alive from the very first frame! (Not rendering is a good default, but they should still be visible in viewport!)
This commit is contained in:
@@ -248,11 +248,11 @@ static void rna_Smoke_set_type(Main *bmain, Scene *scene, PointerRNA *ptr)
|
||||
{
|
||||
psys = psmd->psys;
|
||||
part = psys->part;
|
||||
part->flag |= PART_UNBORN;
|
||||
part->lifetime = 1.0f;
|
||||
part->sta = 1.0f;
|
||||
part->end = 250.0f;
|
||||
part->ren_as = PART_DRAW_NOT;
|
||||
part->draw_as = PART_DRAW_DOT;
|
||||
sprintf(psys->name, "SmokeParticles");
|
||||
psys->recalc |= (PSYS_RECALC_RESET|PSYS_RECALC_PHYS);
|
||||
DAG_id_tag_update(ptr->id.data, OB_RECALC_DATA);
|
||||
|
||||
Reference in New Issue
Block a user