diff options
author | don bright <hugh.m.bright@gmail.com> | 2013-03-06 03:10:10 (GMT) |
---|---|---|
committer | don bright <hugh.m.bright@gmail.com> | 2013-03-06 03:10:10 (GMT) |
commit | 974abf13049d5e73227418e3990af8a9bbf9db09 (patch) | |
tree | e1161129a3a05c63344cd009bd2d2705c3fa3e2c /src/openscad.cc | |
parent | 51be86ad29fe3012d46e81e279a66c76d79a052a (diff) |
fix strecthing with --imgsize per bug rept from Marius Kintel
Diffstat (limited to 'src/openscad.cc')
-rw-r--r-- | src/openscad.cc | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/openscad.cc b/src/openscad.cc index 354c347..75d7b9d 100644 --- a/src/openscad.cc +++ b/src/openscad.cc @@ -77,10 +77,11 @@ static void help(const char *progname) int tab = int(strlen(progname))+8; fprintf(stderr,"Usage: %s [ -o output_file [ -d deps_file ] ]\\\n" "%*s[ -m make_command ] [ -D var=val [..] ] [ --render ] \\\n" - "%*s[ --camera= [x,y,z,rotx,y,z,dist] | [eyex,y,z,centerx,y,z] ] \\\n" - "%*s[ --imgsize=width,height ] [ --projection=o|p] \\\n" + "%*s[ --camera=translatex,y,z,rotx,y,z,dist | \\\n" + "%*s --camera=eyex,y,z,centerx,y,z ] \\\n" + "%*s[ --imgsize=width,height ] [ --projection=(o)rtho|(p)ersp] \\\n" "%*sfilename\n", - progname, tab, "", tab, "", tab, "", tab, ""); + progname, tab, "", tab, "", tab, "", tab, "", tab, ""); exit(1); } @@ -127,7 +128,7 @@ Camera get_camera( po::variables_map vm ) else if (proj=="p" || proj=="perspective") camera.projection = Camera::PERSPECTIVE; else { - fprintf(stderr,"projection needs to be 'o' or 'p' for ortho or perspective"); + fprintf(stderr,"projection needs to be 'o' or 'p' for ortho or perspective\n"); exit(1); } } |