|
Dear All,
In my project I want
to access the opensg scene graph from a QThread (ie load and
attach wrml models to the graph).
My problem is that when I do this my
application crashes.
What I need to configure to avoid this? I
tried to add this code in the run() ( the body) method of my
QThread derived class:
run() {
ExternalThread* tr =
ExternalThread::get(NULL);
tr->initialize(0) // register
to the 0 aspectId
// Perform my operations
below
.....
.....
}
but it doesn't work..., perhaps I thought that I
have to do "ExternalThread* tr = ExternalThread::getCurrent()"
instead.
Any suggestions are highly apreciated
?
Thanks
Bruno
|
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
