--User changes

-Always force times of each flame to increase from zero when saving a file.
 -Remove check for times when doing a sequence in EmberGenome because the original times are never used there.

--Bug fixes
 -Multi-GPU synchronization was not actually thread safe and was likely doing less iters than requested. It is now properly synchronized.

--Code changes
 -Optimize Interpolater by making it a non-static class by adding some members used for caching values during interpolation.
 -Cache values in SheepTools as well, which was already a non-static class.
 -General cleanup.
This commit is contained in:
mfeemster
2016-04-23 09:02:09 -07:00
parent 322c630b8f
commit 1f0cc4bb4a
12 changed files with 117 additions and 111 deletions

View File

@ -145,11 +145,9 @@ private:
/// </summary>
EmberOptionEntry()
{
m_OptionUse = eOptionUse::OPT_USE_ALL;
m_Option.nArgType = SO_NONE;
m_Option.nId = 0;
m_Option.pszArg = _T("--fillmein");
m_DocString = "Dummy doc";
m_Option.nArgType = SO_NONE;
}
public:
@ -203,13 +201,13 @@ public:
/// <summary>
/// Functor accessors.
/// </summary>
inline T operator() (void) { return m_Val; }
inline T operator() (void) const { return m_Val; }
inline void operator() (T t) { m_Val = t; }
private:
eOptionUse m_OptionUse;
eOptionUse m_OptionUse = eOptionUse::OPT_USE_ALL;
CSimpleOpt::SOption m_Option;
string m_DocString;
string m_DocString = "Dummy doc";
string m_NameWithoutDashes;
T m_Val;
};