[osg-users] SetAttribute / RemoveAttribute Question

Paul Bigeon osgforum at tevs.eu
Tue Nov 28 09:21:45 PST 2017

Hi Robert,

Thanks for your answer,
Sorry I rushed into it directly without giving more context :

I'm trying to select and deselect nodes on screen, like in my previous post
by applying a specific material to a node, and deselect it by erasing this specific material.

My UI architecture is as such that, the view containing OSG nodes has to communicate directly with a tree of items ( where those items are representing infos about nodes in the view )

In fact, I've implemented a class that is storing a set of nodes coming from both the view and the tree ( an item does have the corresponding node pointer attached to it).

There is no deletion of items or nodes whatsoever in any part of my program.

I will try to take a look at the type of pointer i'm using through the program first.

As for the call stack, unfortunately MSVC gives me an exception that I cannot understand. I've tried to compile my application in debug x64 mode but couldn't make it work, so I'm a bit short in terms of error reporting ... but i'll try to come up with a debug version

Again, thanks for all your work Robert !


Read this topic online here:

More information about the osg-users mailing list