diff --git a/Source/Ember/Variations06.h b/Source/Ember/Variations06.h index 61a818d..67f3844 100644 --- a/Source/Ember/Variations06.h +++ b/Source/Ember/Variations06.h @@ -3870,7 +3870,7 @@ public: virtual void Precalc() override { - m_HalfCellSize = Zeps(m_CellSize / 2); + m_HalfCellSize = Zeps(std::abs(m_CellSize) / 2); for (int x = -CACHE_NUM; x <= CACHE_NUM; x++) for (int y = -CACHE_NUM; y <= CACHE_NUM; y++) @@ -3883,7 +3883,7 @@ protected: string prefix = Prefix(); m_Params.clear(); m_Params.reserve(8); - m_Params.push_back(ParamWithName(&m_CellSize, prefix + "crackle_cellsize", 1)); + m_Params.push_back(ParamWithName(&m_CellSize, prefix + "crackle_cellsize", 1, eParamType::REAL, T(0.0001))); m_Params.push_back(ParamWithName(&m_Power, prefix + "crackle_power", T(0.2))); m_Params.push_back(ParamWithName(&m_Distort, prefix + "crackle_distort")); m_Params.push_back(ParamWithName(&m_Scale, prefix + "crackle_scale", 1)); diff --git a/Source/Fractorium/FractoriumXformsColor.cpp b/Source/Fractorium/FractoriumXformsColor.cpp index 73e6fe8..cddb4f7 100644 --- a/Source/Fractorium/FractoriumXformsColor.cpp +++ b/Source/Fractorium/FractoriumXformsColor.cpp @@ -241,7 +241,7 @@ QColor FractoriumEmberController::ColorIndexToQColor(double d) template void FractoriumEmberController::FillColorWithXform(Xform* xform) { - m_Fractorium->m_XformColorIndexSpin->SetValueStealth(xform->m_ColorX); + m_Fractorium->m_XformColorIndexSpin->SetValueStealth(xform->m_ColorX);//Probably ought to put scroll bar update here too. m_Fractorium->m_XformColorSpeedSpin->SetValueStealth(xform->m_ColorSpeed); m_Fractorium->m_XformOpacitySpin->SetValueStealth(xform->m_Opacity); m_Fractorium->m_XformDirectColorSpin->SetValueStealth(xform->m_DirectColor);