[drape] temporary remove all caps from lines. We need check perfomance.

This commit is contained in:
ExMix 2015-07-28 10:48:06 +03:00 committed by r.kuznetsov
parent 45358cb14c
commit be3b4d884d
2 changed files with 7 additions and 5 deletions

View file

@ -128,6 +128,8 @@ void Extract(::LineDefProto const * lineRule,
ASSERT(false, ());
}
params.m_cap = dp::ButtCap;
switch (lineRule->join())
{
case ::NOJOIN : params.m_join = dp::MiterJoin;

View file

@ -29,12 +29,12 @@ namespace df
namespace
{
const double VSyncInterval = 0.030;
//#ifdef DEBUG
//const double VSyncInterval = 0.030;
//#else
//const double VSyncInterval = 0.014;
//#endif
#ifdef DEBUG
const double VSyncInterval = 0.030;
#else
const double VSyncInterval = 0.014;
#endif
} // namespace