diff --git a/Source/Ember/Xform.h b/Source/Ember/Xform.h index 31e121b..fecbbca 100644 --- a/Source/Ember/Xform.h +++ b/Source/Ember/Xform.h @@ -1244,10 +1244,11 @@ private: /// The adjusted opacity static T AdjustOpacityPercentage(T in) { - if (in == 0) + return in; + /* if (in == 0) return 0; - else - return std::pow(T(10.0), -std::log(T(1.0) / T(in)) / std::log(T(2))); + else + return std::pow(T(10.0), -std::log(T(1.0) / T(in)) / std::log(T(2)));*/ } vector m_Xaos;//Xaos vector which affects the probability that this xform is chosen. Usually empty.