parent
0c42754734
commit
d537ab9479
1 changed files with 2 additions and 2 deletions
4
btn4ws.py
Normal file → Executable file
4
btn4ws.py
Normal file → Executable file
|
@ -40,7 +40,7 @@ pdb = gimp.pdb
|
||||||
|
|
||||||
btn4ws_version = "0.8.0"
|
btn4ws_version = "0.8.0"
|
||||||
|
|
||||||
logging.basicConfig(level=logging.DEBUG,
|
logging.basicConfig(level=logging.WARN,
|
||||||
format='%(asctime)s %(levelname)s %(message)s',
|
format='%(asctime)s %(levelname)s %(message)s',
|
||||||
stream=sys.stderr)
|
stream=sys.stderr)
|
||||||
|
|
||||||
|
@ -989,7 +989,7 @@ class btn4wsplugin(gimpplugin.plugin):
|
||||||
image.add_layer(blackboard, len(image.layers))
|
image.add_layer(blackboard, len(image.layers))
|
||||||
selectionall(image)
|
selectionall(image)
|
||||||
if transparency:
|
if transparency:
|
||||||
blackboard.preserve_trans = True
|
blackboard.lock_alpha = True
|
||||||
editclear(blackboard)
|
editclear(blackboard)
|
||||||
else:
|
else:
|
||||||
gimp.set_background(bgcolor)
|
gimp.set_background(bgcolor)
|
||||||
|
|
Loading…
Reference in a new issue