Skip to content

Commit

Permalink
fix particleEmitter2.PriorityPlane miss (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisCatCP authored Aug 29, 2024
1 parent 469009d commit 1a38cc2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mdl/generate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -744,6 +744,7 @@ function generateParticleEmitter2Chunk (particleEmitter2: ParticleEmitter2) {
generateIntPropIfNotEmpty('Time', particleEmitter2.Time, 0) +
generateIntPropIfNotEmpty('LifeSpan', particleEmitter2.LifeSpan, 0) +
generateIntPropIfNotEmpty('TailLength', particleEmitter2.TailLength, 0) +
generateIntPropIfNotEmpty('PriorityPlane', particleEmitter2.PriorityPlane, 0) +
(particleEmitter2.Flags & ParticleEmitter2Flags.SortPrimsFarZ ? generateBooleanProp('SortPrimsFarZ') : '') +
(particleEmitter2.Flags & ParticleEmitter2Flags.LineEmitter ? generateBooleanProp('LineEmitter') : '') +
(particleEmitter2.Flags & ParticleEmitter2Flags.ModelSpace ? generateBooleanProp('ModelSpace') : '') +
Expand Down

0 comments on commit 1a38cc2

Please sign in to comment.