Fix crash when creating Empty particle emitter

Fixes #174
This commit is contained in:
Wojtek Figat
2021-01-27 23:59:24 +01:00
parent 971ab7b8e7
commit 4b11725226
2 changed files with 13 additions and 5 deletions

View File

@@ -338,7 +338,7 @@ namespace FlaxEditor.Surface.Archetypes
Size = new Vector2(300, 600),
DefaultValues = new object[]
{
500, // Capacity
1000, // Capacity
(int)ParticlesSimulationMode.Default, // Simulation Mode
(int)ParticlesSimulationSpace.Local, // Simulation Space
true, // Enable Pooling