From Stephan Huber, "As I have not all referenced image-data, SlideShowConstructor crashed on my end. Attached is a fix for that crash."
This commit is contained in:
parent
84c857d24d
commit
366fcbf59b
@ -1100,11 +1100,12 @@ osg::Image* SlideShowConstructor::readImage(const std::string& filename, const I
|
|||||||
|
|
||||||
image = imageSequence;
|
image = imageSequence;
|
||||||
}
|
}
|
||||||
|
if (image.valid())
|
||||||
if (imageData.delayTime>0.0) image->setUserValue("delay",imageData.delayTime);
|
{
|
||||||
if (imageData.startTime>0.0) image->setUserValue("start",imageData.startTime);
|
if (imageData.delayTime>0.0) image->setUserValue("delay",imageData.delayTime);
|
||||||
if (imageData.stopTime>0.0) image->setUserValue("stop",imageData.stopTime);
|
if (imageData.startTime>0.0) image->setUserValue("start",imageData.startTime);
|
||||||
|
if (imageData.stopTime>0.0) image->setUserValue("stop",imageData.stopTime);
|
||||||
|
}
|
||||||
return image.release();
|
return image.release();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user