Sampler Order Fix for Models

This commit is contained in:
Henk 2022-11-14 17:15:39 +01:00
parent 13dff68de8
commit 3084552c05
1 changed files with 1 additions and 1 deletions

View File

@ -1017,7 +1017,7 @@ def loadmodelsettings():
if("nobreakmodel" in js):
vars.nobreakmodel = js["nobreakmodel"]
if("sampler_order" in js):
sampler_order = vars.sampler_order
sampler_order = js["sampler_order"]
if(len(sampler_order) < 7):
sampler_order = [6] + sampler_order
vars.sampler_order = sampler_order