forked from bartvdbraak/blender
Fluid: Fix empty named fluid particle system; Smoke: Fix typo
This commit is contained in:
parent
967d25ac1c
commit
614192cce3
@ -103,7 +103,7 @@ class PHYSICS_PT_smoke(PhysicButtonsPanel):
|
|||||||
|
|
||||||
col = split.column()
|
col = split.column()
|
||||||
col.prop(flow, "outflow")
|
col.prop(flow, "outflow")
|
||||||
col.label(text="Particle:")
|
col.label(text="Particle System:")
|
||||||
col.prop_object(flow, "psys", ob, "particle_systems", text="")
|
col.prop_object(flow, "psys", ob, "particle_systems", text="")
|
||||||
|
|
||||||
sub = col.column()
|
sub = col.column()
|
||||||
|
@ -105,6 +105,7 @@ static void rna_FluidSettings_update_type(Main *bmain, Scene *scene, PointerRNA
|
|||||||
psys->part= part;
|
psys->part= part;
|
||||||
psys->pointcache= BKE_ptcache_add(&psys->ptcaches);
|
psys->pointcache= BKE_ptcache_add(&psys->ptcaches);
|
||||||
psys->flag |= PSYS_ENABLED;
|
psys->flag |= PSYS_ENABLED;
|
||||||
|
sprintf(psys->name, "FluidParticles");
|
||||||
BLI_addtail(&ob->particlesystem,psys);
|
BLI_addtail(&ob->particlesystem,psys);
|
||||||
|
|
||||||
/* add modifier */
|
/* add modifier */
|
||||||
|
Loading…
Reference in New Issue
Block a user