osg Node getParentalNodePaths()报错

node->getBound().center() * osg::computeLocalToWorld(node->getParentalNodePaths()[0])

osg::Vec3f vec3f1 = hNode2->getBound().center();
osg::NodePathList nodePAthList1 = hNode2->getParentalNodePaths(0);

不知为啥,

hNode2->getParentalNodePaths(0);一直报错

 

 

Program: ...laManageProject\TeslaManage\x64\Debug\TeslaManage20191001.exe
File: minkernel\crts\ucrt\src\appcrt\heap\debug_heap.cpp
Line: 980

Expression: __acrt_first_block == header

For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts.

 

posted @ 2019-10-02 20:56  西北逍遥  阅读(423)  评论(0编辑  收藏  举报