Commit ba913fcb by Luis Penaranda

bugfix: compute scale on gl initialization

1 parent c45aff1a
......@@ -290,6 +290,7 @@ void OpenGLCanvas::initializeGL(){
#endif // MSC_VER
read_config_file();
compute_scale();
// If the input file does not exist or was not specified.
struct stat testbuf;
if(stat(input_image_file,&testbuf)||!strcmp(input_image_file,"")){
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!