add tiling textures option

pull/378/head
Abdullah Alfaraj 2023-09-29 20:43:20 +03:00
parent 018f7c2c5f
commit ab5d0f3bad
3 changed files with 12 additions and 0 deletions

View File

@ -1072,6 +1072,16 @@ class SDTab extends React.Component<{}> {
>
Hi Res Fix
</SpCheckBox>
<SpCheckBox
class="checkbox"
id=""
checked={store.data.tiling}
onClick={(evt: any) => {
store.data.tiling = evt.target.checked
}}
>
tiling
</SpCheckBox>
</div>
<div
id="HiResDiv"

View File

@ -135,6 +135,7 @@ export const store = new AStore({
selection_mode: selection_mode_config[0].value,
inpainting_mask_weight: 1,
tiling: false,
})
export const default_preset = {
sd_tab_preset: {

View File

@ -432,6 +432,7 @@ async function getSettings(session_data) {
uniqueDocumentId: uniqueDocumentId,
mode: mode,
restore_faces: b_restore_faces,
tiling: sd_tab_store.data.tiling,
// script_args: script_args,
// script_name:"Run on Stable Horde"
}