[core] Remove redundant setDebug() from Painter

This information can be obtained directly from MapData.
This commit is contained in:
Bruno de Oliveira Abinader
2015-10-20 12:10:07 -07:00
parent 5db4670d78
commit ad3078e73d
4 changed files with 1 additions and 10 deletions

View File

@@ -248,7 +248,6 @@ bool MapContext::renderSync(const TransformState& state, const FrameData& frame)
painter->setup();
}
painter->setDebug(data.getDebug());
painter->render(*style, transformState, frame, data.getAnimationTime());
if (data.mode == MapMode::Still) {