mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-07-06 21:12:07 -07:00
fix mask editor
This commit is contained in:
parent
d3ac88b799
commit
406ef91851
1 changed files with 2 additions and 0 deletions
|
@ -93,6 +93,7 @@ class MaskEditor:
|
|||
pass
|
||||
|
||||
def undo_point(self):
|
||||
self.screen_changed = True
|
||||
if self.state == self.STATE_NONE:
|
||||
if self.ie_polys.n > 0:
|
||||
self.state = self.STATE_MASKING
|
||||
|
@ -111,6 +112,7 @@ class MaskEditor:
|
|||
pass
|
||||
|
||||
def redo_point(self):
|
||||
self.screen_changed = True
|
||||
if self.state == self.STATE_NONE:
|
||||
if self.ie_polys.n_max > 0:
|
||||
self.state = self.STATE_MASKING
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue