diff options
author | Fox Caminiti <fox@foxcam.net> | 2022-11-26 23:52:57 -0500 |
---|---|---|
committer | Fox Caminiti <fox@foxcam.net> | 2022-11-26 23:52:57 -0500 |
commit | c5a60e71f9ed869467e2090f4b343641b021386a (patch) | |
tree | 9f7b3c7a11639e009833e5f4f27c86ca4b698788 /stable_diffusion.cpp | |
parent | e9634a8763fef9c74d2bfeb349e10a43de45c0e1 (diff) |
keybind refinement
Diffstat (limited to 'stable_diffusion.cpp')
-rw-r--r-- | stable_diffusion.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stable_diffusion.cpp b/stable_diffusion.cpp index 3d0c26b..4da327d 100644 --- a/stable_diffusion.cpp +++ b/stable_diffusion.cpp @@ -254,12 +254,12 @@ static void Curl_Main(project_data *File, project_state *State, memory *Memory, curl_state *MainHandle, curl_state *ProgHandle) { if (State->CurlActive == -1) { - Curl_GET_Init(MainHandle, State->Dump1, State->JSONPayload, State->SD.ServerAddress, State->SD.Mode); + Curl_GET_Init(MainHandle, State->Dump1, State->JSONPayload, File->UI.SD.ServerAddress, File->UI.SD.Mode); Curl_Prog_Init(ProgHandle, State->Dump2); State->CurlActive = 1; } else { if (Curl_Check(MainHandle) == 1) { - SD_JSONToSource(File, State, Memory, State->Dump1, State->SD.Height, State->SD.Width); + SD_JSONToSource(File, State, Memory, State->Dump1, File->UI.SD.Height, File->UI.SD.Width); Curl_StopAll(State, ProgHandle, MainHandle); } uint64 Time = ImGui::GetTime(); |