Commit c19fe715 authored by Hans-Christian Ebke's avatar Hans-Christian Ebke

Added addresses to scene graph.

parent f81c9401
Pipeline #2257 failed with stage
in 70 minutes and 28 seconds
......@@ -71,6 +71,8 @@
#include "../Scenegraph/ShaderNode.hh"
#include "../Scenegraph/CoordFrameNode.hh"
#include <cstdint>
//== FORWARDDECLARATIONS ======================================================
......@@ -611,7 +613,10 @@ QtSceneGraphWidget::Item::Item( Item * _parent,
void
QtSceneGraphWidget::Item::update()
{
setText( 0, node_->name().c_str());
QString name = tr("%1 @ 0x%2")
.arg(node_->name().c_str())
.arg(reinterpret_cast<uintptr_t>(node_), 0, 16);
setText( 0, name.toStdString().c_str());
setText( 1, node_->className().c_str());
switch (node_->status())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment