赞
踩
osg::NodePath通过push_back添加元素后,但是在调试时发现items数为0,并且在使用时也发现里面有元素。
- Loader.cpp
- PagerLoader::PagerLoader(TerrainEngineNode* engine) :
- _checkpoint ( (osg::Timer_t)0 ),
- _mergesPerFrame( 0 ),
- _frameNumber ( 0 ),
- _numLODs ( 20u )
- {
- 189: _myNodePath.push_back( this );
- }
- DatabasePager.cpp
-
- void DatabasePager::requestNodeFile(const std::string& fileName, osg::NodePath& nodePath,
- float priority, const osg::FrameStamp* framestamp,
- osg::ref_ptr<osg::Referenced>& databaseRequestRef,
- const osg::Referenced* options)
- {
- 1429: osg::Group* group = nodePath.back()->asGroup();
- }
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。