Skip to content

Commit

Permalink
[PFX1] Add missing "multiply_mode" for scripts
Browse files Browse the repository at this point in the history
Now it matches its PFX2 counterpart
  • Loading branch information
darksylinc committed Aug 10, 2024
1 parent ea477ac commit 8c5eaaf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions PlugIns/ParticleFX/src/OgreScaleAffector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,12 @@ namespace Ogre
"components of particles per second.",
PT_REAL ),
&msScaleCmd );

dict->addParameter( ParameterDef( "multiply_mode",
"When false (default), we do scale += factor * time. "
"When true, we do scale *= pow( factor, time ).",
PT_BOOL ),
&msMultiplyModeCmd );
}
}
//-----------------------------------------------------------------------
Expand Down

0 comments on commit 8c5eaaf

Please sign in to comment.