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