osg::NodePath在对话框应用程序下无效,在sdi(view)下
::NodePathList ndlst;osg::NodePathList& nodep=geode->getParentalNodePaths();//geode是存在的
for(int i=0;i<nodep.size();i++)
ndlst.push_back(nodep.at(i));
后: osg::NodePath& n=ndlst.at(0);
int size=n.size();
osg::Node *node=n.at(size-1);
在对话框应用程序下node无效,在sdi(view)下node有效、
谁遇到过类似情况?
页:
[1]