Fixed a bug in command line only win32 slic3r build.
This commit is contained in:
parent
cef2fa3505
commit
3ab1b69682
1 changed files with 2 additions and 1 deletions
|
@ -266,6 +266,8 @@ int wmain(int argc, wchar_t **argv)
|
|||
} else
|
||||
printf("MESA OpenGL library was loaded sucessfully\n");
|
||||
}
|
||||
#endif /* SLIC3R_GUI */
|
||||
|
||||
|
||||
wchar_t path_to_slic3r[MAX_PATH + 1] = { 0 };
|
||||
wcscpy(path_to_slic3r, path_to_exe);
|
||||
|
@ -276,7 +278,6 @@ int wmain(int argc, wchar_t **argv)
|
|||
printf("slic3r.dll was not loaded\n");
|
||||
return -1;
|
||||
}
|
||||
#endif /* SLIC3R_GUI */
|
||||
|
||||
// resolve function address here
|
||||
slic3r_main = (Slic3rMainFunc)GetProcAddress(hInstance_Slic3r,
|
||||
|
|
Loading…
Reference in a new issue