Commit 2d260e8d authored by Michael Natterer's avatar Michael Natterer 😴

script-fu: opacity in SF-BRUSH is 0..100 since at least GIMP 2.2

parent 31d443a4
......@@ -234,7 +234,7 @@
; Set new color, brush, opacity, paint mode.
(gimp-context-set-foreground color)
(gimp-context-set-brush (car brush))
(gimp-context-set-opacity (* 100 (car (cdr brush))))
(gimp-context-set-opacity (car (cdr brush)))
(gimp-context-set-paint-mode (car (cdr (cdr (cdr brush)))))
(gimp-progress-set-text _"Rendering Spyro")
......@@ -342,7 +342,7 @@
SF-OPTION _"Tool" '(_"Pencil"
_"Brush"
_"Airbrush")
SF-BRUSH _"Brush" '("Circle (01)" 1.0 -1 0)
SF-BRUSH _"Brush" '("Circle (01)" 100 -1 0)
SF-OPTION _"Color method" '(_"Solid Color"
_"Gradient: Loop Sawtooth"
......
......@@ -275,7 +275,7 @@
SF-TOGGLE "Shadow" TRUE
SF-COLOR "Background color" "white"
SF-COLOR "Sphere color" "red"
SF-BRUSH "Brush" '("Circle (03)" 1.0 44 0)
SF-BRUSH "Brush" '("Circle (03)" 100 44 0)
SF-STRING "Text" "Tiny-Fu rocks!"
SF-TEXT "Multi-line text" "Hello,\nWorld!"
SF-PATTERN "Pattern" "Maple Leaves"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment