Changeset 9095 for OpenSceneGraph/trunk/examples/osgvolume/osgvolume.cpp
- Timestamp:
- 11/04/08 13:57:30 (5 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/examples/osgvolume/osgvolume.cpp
r8964 r9095 1982 1982 } 1983 1983 1984 while (arguments.read("--images")) 1984 int images_pos = arguments.find("--images"); 1985 if (images_pos>=0) 1985 1986 { 1986 1987 ImageList imageList; 1987 for(int pos=1;pos<arguments.argc() && !arguments.isOption(pos);++pos) 1988 int pos=images_pos+1; 1989 for(;pos<arguments.argc() && !arguments.isOption(pos);++pos) 1988 1990 { 1989 1991 // not an option so assume string is a filename. … … 1995 1997 } 1996 1998 } 1999 2000 arguments.remove(images_pos, pos-images_pos); 1997 2001 1998 2002 // pack the textures into a single texture.
