Commit ba913fcb authored by Luis Penaranda's avatar Luis Penaranda
Browse files

bugfix: compute scale on gl initialization

parent c45aff1a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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,"")){