mirror of
https://github.com/projectM-visualizer/projectm.git
synced 2026-03-11 18:05:18 +00:00
wrote simple mod to exclude user defined parameters from ever being re-initialized to a constant per frame
git-svn-id: https://projectm.svn.sourceforge.net/svnroot/projectm/trunk@409 6778bc44-b910-0410-a7a0-be141de4315d
This commit is contained in:
@ -60,6 +60,9 @@ void InitCond::evaluate() {
|
||||
assert(this);
|
||||
assert(param);
|
||||
|
||||
if (param->flags & P_FLAG_USERDEF)
|
||||
return;
|
||||
|
||||
/* Set matrix flag to zero. This ensures
|
||||
its constant value will be used rather than a matrix value
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user