Undo check for configured controlnet, which is optional.
This commit is contained in:
parent
f6049614ab
commit
baec96fac1
1 changed files with 1 additions and 2 deletions
|
@ -807,8 +807,7 @@ class Session(object):
|
||||||
return idx
|
return idx
|
||||||
if idx < 4 and self.getctrlnetprefixes()[idx] is not None:
|
if idx < 4 and self.getctrlnetprefixes()[idx] is not None:
|
||||||
return idx
|
return idx
|
||||||
else:
|
return -1
|
||||||
return -1
|
|
||||||
|
|
||||||
|
|
||||||
def getctrlnetobj(self, netidx):
|
def getctrlnetobj(self, netidx):
|
||||||
|
|
Loading…
Reference in a new issue