Fixed typo in command line output, and add an explanation message for when createTexture3D fails to create an osg::Image from a list of input osg::Image.

This commit is contained in:
Robert Osfield
2011-10-20 08:59:47 +00:00
parent 61b2659fab
commit 2c4eb8d181

View File

@@ -829,6 +829,10 @@ int main( int argc, char **argv )
{
images.push_back(image);
}
else
{
OSG_NOTICE<<"Unable to create 3D image from source files."<<std::endl;
}
}
@@ -889,7 +893,7 @@ int main( int argc, char **argv )
if (images.empty())
{
std::cout<<"No model loaded, please specify and volumetric image file on the command line."<<std::endl;
std::cout<<"No model loaded, please specify a volumetric image file on the command line."<<std::endl;
return 1;
}