fix broken feature caching - #624
This commit is contained in:
parent
baf04537ee
commit
207168fafc
1 changed files with 5 additions and 12 deletions
|
@ -287,21 +287,14 @@ private:
|
|||
|
||||
// process features
|
||||
featureset_ptr fs;
|
||||
if (cache_features)
|
||||
if (first)
|
||||
{
|
||||
if (first)
|
||||
{
|
||||
first = false;
|
||||
fs = ds->features(q);
|
||||
}
|
||||
else
|
||||
{
|
||||
fs = cache.features(q);
|
||||
}
|
||||
first = false;
|
||||
fs = ds->features(q);
|
||||
}
|
||||
else
|
||||
{
|
||||
fs = ds->features(q);
|
||||
fs = cache.features(q);
|
||||
}
|
||||
|
||||
if (fs)
|
||||
|
@ -358,8 +351,8 @@ private:
|
|||
}
|
||||
}
|
||||
}
|
||||
cache_features = false;
|
||||
}
|
||||
cache_features = false;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue