Added ref_ptr<> to quieten down Coverity
This commit is contained in:
parent
c820b611ed
commit
6d85404cf0
@ -644,7 +644,7 @@ JSONObject* WriteVisitor::createJSONMorphGeometry(osgAnimation::MorphGeometry* m
|
|||||||
}
|
}
|
||||||
|
|
||||||
JSONObject* jsonGeometry = createJSONGeometry(morphGeometry, parent);
|
JSONObject* jsonGeometry = createJSONGeometry(morphGeometry, parent);
|
||||||
JSONArray* targetList = new JSONArray;
|
osg::ref_ptr<JSONArray> targetList = new JSONArray;
|
||||||
|
|
||||||
osgAnimation::MorphGeometry::MorphTargetList mTargetList = morphGeometry->getMorphTargetList();
|
osgAnimation::MorphGeometry::MorphTargetList mTargetList = morphGeometry->getMorphTargetList();
|
||||||
typedef osgAnimation::MorphGeometry::MorphTargetList::iterator TargetIterator;
|
typedef osgAnimation::MorphGeometry::MorphTargetList::iterator TargetIterator;
|
||||||
|
Loading…
Reference in New Issue
Block a user