abc-osg 发表于 2017-11-3 12:05:21

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]
查看完整版本: osg::NodePath在对话框应用程序下无效,在sdi(view)下