Bug 681140 - Filter Render/Line Nova: renders in black instead...

Store the foreground color before setting the default context.
This commit is contained in:
Téo Mazars 2014-11-22 08:47:21 +01:00 committed by Michael Natterer
parent b49e8098d4
commit 4de78f51b3
1 changed files with 2 additions and 0 deletions

View File

@ -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)