Added support for <image "start=10"> property that tells a video to start specificied number of sections into a video.

This commit is contained in:
Robert Osfield
2013-01-10 14:37:52 +00:00
parent c367e0771a
commit e569671d13
4 changed files with 45 additions and 6 deletions

View File

@@ -956,6 +956,24 @@ bool ReaderWriterP3DXML::getProperties(osgDB::XmlNode*cur, osgPresentation::Slid
OSG_NOTIFY(_notifyLevel)<<"read blendingHint \""<<value.blendingHint<<"\""<<std::endl;
}
if (getProperty(cur, "delay", value.delayTime))
{
propertiesRead = true;
OSG_NOTIFY(_notifyLevel)<<"read delay \""<<value.delayTime<<"\""<<std::endl;
}
if (getProperty(cur, "start", value.startTime))
{
propertiesRead = true;
OSG_NOTIFY(_notifyLevel)<<"read start \""<<value.startTime<<"\""<<std::endl;
}
if (getProperty(cur, "stop", value.stopTime))
{
propertiesRead = true;
OSG_NOTIFY(_notifyLevel)<<"read stop \""<<value.stopTime<<"\""<<std::endl;
}
/*
if (getProperty(cur, "texcoord_offset", value.texcoord_offset))
{