Skip to content

Commit a1f1433

Browse files
Fixing initial particle size (#17410)
1 parent 9a238aa commit a1f1433

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/dev/core/src/Particles/Node/Blocks/Emitters/createParticleBlock.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export class CreateParticleBlock extends NodeParticleBlock {
3434
this.registerInput("scale", NodeParticleBlockConnectionPointTypes.Vector2, true, new Vector2(1, 1));
3535
this.registerInput("angle", NodeParticleBlockConnectionPointTypes.Float, true, 0);
3636
this.registerInput("angularSpeed", NodeParticleBlockConnectionPointTypes.Float, true, 0);
37-
this.registerInput("size", NodeParticleBlockConnectionPointTypes.Float, true, 0);
37+
this.registerInput("size", NodeParticleBlockConnectionPointTypes.Float, true, 1);
3838
this.registerOutput("particle", NodeParticleBlockConnectionPointTypes.Particle);
3939

4040
this.scale.acceptedConnectionPointTypes.push(NodeParticleBlockConnectionPointTypes.Float);

0 commit comments

Comments
 (0)