mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 16:13:28 +02:00
adding a debug tool
This commit is contained in:
parent
b339aa683a
commit
730d455095
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue