Added test code for nesting a <hull> within a volume tag.

This commit is contained in:
Robert Osfield
2014-02-04 16:46:33 +00:00
parent 488e1692cc
commit 6bf6d5eeb2

View File

@@ -1353,6 +1353,14 @@ osg::TransferFunction1D* ReaderWriterP3DXML::readTransferFunctionFile(const std:
void ReaderWriterP3DXML::parseVolume(osgPresentation::SlideShowConstructor& constructor, osgDB::XmlNode* cur) const
{
for(osgDB::XmlNode::Children::iterator itr = cur->children.begin();
itr != cur->children.end();
++itr)
{
osgDB::XmlNode* child = itr->get();
OSG_NOTICE<<"parseVolume has child "<<child->contents<<std::endl;
}
osgPresentation::SlideShowConstructor::PositionData positionData = constructor.getModelPositionData();
bool positionRead = getProperties(cur,positionData);