Commit 98019e72 authored by Matthias Möller's avatar Matthias Möller

add debug name for nodes

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@16838 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 6696f484
......@@ -569,6 +569,8 @@ getRenderObjects(ACG::IRenderer* _renderer, ACG::GLState& _state , const ACG::S
ro.initFromState(&_state);
ro.debugName = "TextNode";
// do not rotate the quads in this case
if (textMode_ == SCREEN_ALIGNED)
{
......
......@@ -360,12 +360,13 @@ void QtWidgetNode::getRenderObjects(ACG::IRenderer* _renderer, ACG::GLState& _s
// init base render object
state_ = &_state;
if (BaseNode::hidden() || !widget_)
if (!widget_)
return;
ACG::RenderObject ro;
ro.initFromState(&_state);
ro.debugName = "QtWidgetNode";
if (!planeCreated_)
{
......
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