adding a debug tool

This commit is contained in:
Sam Gateau 2015-06-03 11:35:37 -07:00
parent b339aa683a
commit 730d455095

View file

@ -159,7 +159,7 @@ void render::renderItems(const SceneContextPointer& sceneContext, const RenderCo
auto& scene = sceneContext->_scene;
RenderArgs* args = renderContext->args;
// render
if ((maxDrawnItems < 0) || (maxDrawnItems > inItems.size()) {
if ((maxDrawnItems < 0) || (maxDrawnItems > inItems.size())) {
for (auto id : inItems) {
auto item = scene->getItem(id);
item.render(args);