Bug 681140 - Filter Render/Line Nova: renders in black instead...
Store the foreground color before setting the default context.
This commit is contained in:

committed by
Michael Natterer

parent
b49e8098d4
commit
4de78f51b3
@ -23,9 +23,11 @@
|
||||
(radius (max drw-height drw-width))
|
||||
(index 0)
|
||||
(dir-deg/line (/ 360 num-of-lines))
|
||||
(fg-color (car (gimp-context-get-foreground)))
|
||||
)
|
||||
(gimp-context-push)
|
||||
(gimp-context-set-defaults)
|
||||
(gimp-context-set-foreground fg-color)
|
||||
|
||||
(define (draw-vector beg-x beg-y direction)
|
||||
|
||||
|
Reference in New Issue
Block a user