> > reason (experimental, might change without notice etc).
> Heh, that's why I asked. :)
Oh, sorry, I overlooked the postscriptum. Never mind. There is no proper
solution currently, if you want to use multiple scene objects....

You should make the default shared_ptr<Scene>(), then test it, and if it
is NULL pointer, assign current scene. That is the way it works in many
Shop functions, e.g. yours Shop::getSpheresVolume().

v





_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
Post to     : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to