mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 05:52:31 +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;
|
auto& scene = sceneContext->_scene;
|
||||||
RenderArgs* args = renderContext->args;
|
RenderArgs* args = renderContext->args;
|
||||||
// render
|
// render
|
||||||
if ((maxDrawnItems < 0) || (maxDrawnItems > inItems.size()) {
|
if ((maxDrawnItems < 0) || (maxDrawnItems > inItems.size())) {
|
||||||
for (auto id : inItems) {
|
for (auto id : inItems) {
|
||||||
auto item = scene->getItem(id);
|
auto item = scene->getItem(id);
|
||||||
item.render(args);
|
item.render(args);
|
||||||
|
|
Loading…
Reference in a new issue