various touch ups, minor bug fix.

git-svn-id: https://projectm.svn.sourceforge.net/svnroot/projectm/personal/carm/dev-1.0@291 6778bc44-b910-0410-a7a0-be141de4315d
This commit is contained in:
psperl
2007-08-05 05:04:35 +00:00
parent e961872101
commit f7fee506c9
11 changed files with 546 additions and 495 deletions

View File

@ -57,8 +57,7 @@ Param::Param( std::string _name, short int _type, short int _flags, void * _engi
/** @@FIX THIS */
/// @bug listen to above's advice!
/// @NOTE this is a hack, but will probably work fine
this->gx = projectM::currentEngine->presetInputs.gx;
this->gy = projectM::currentEngine->presetInputs.gy;
projectM::currentEngine->getCurrentMeshSize(this->gx, this->gy);
}
@ -78,12 +77,12 @@ Param::Param(std::string _name) :
upper_bound.float_val = DEFAULT_DOUBLE_UB;
lower_bound.float_val = DEFAULT_DOUBLE_LB;
/** @@FIX THIS */
/// @bug listen to above's advice!
/// @NOTE this is a hack, but will probably work fine
this->gx = projectM::currentEngine->presetInputs.gx;
this->gy = projectM::currentEngine->presetInputs.gy;
projectM::currentEngine->getCurrentMeshSize(this->gx, this->gy);
}
/* Free's a parameter type */