Help! Problem with gimp-curves-spline procedure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi All,
I've been trying to make gimp-curves-spline get variable (which is number) instead of number and I get error.

For example -
when I do:
(gimp-curves-spline drawable 0 6 #(0 0 0 15 255 255))

everything works well as it should be.

but if I do:
(define spoint 15)
(gimp-curves-spline drawable 0 6 #(0 0 0  spoint  255 255))

I get an error: Error: Item 4 in vector is not a number (argument 4 for function gimp-curves-spline) #( 0 0 0  spoint  255 255 )
As you can see, all I did was replacing the number 15 with a variable (which is a number)
I also check it is a number by the number? type predicate

Any thoughts?

_______________________________________________
gimp-user-list mailing list
gimp-user-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gimp-user-list

[Gimp Announce]     [Gimp Images]     [GIMP Development]     [Video For Linux]     [Photo]     [Yosemite News]    [Yosemite Photos]    [gtk]     [KDE]     [Scanner]     [Gimp's Home]     [Gimp Docs]     [Gimp on Windows]     [Steve's Art]     [Webcams]     [Share Your Images]     [Free Online Dating]     [Photo Site]     [Script Fu]     [GIMP Software]     [GIMP Books]

Barnes&Noble.com

Add to Google Follow Gimp on Twitter