the problem is not in my code but in a bug that David is trying to fix
Anyway i know the workaround grab the code below
################################################################################################### #@gimp Psychedelic_Glasswork Tiler : gimp_psy_glass1, gimp_psy_glass1_preview #@gimp : sep = separator() #@gimp : note = note("Stained Glass Controls") #@gimp : sep = separator() #@gimp : White separators = bool(false) #@gimp : Edges = float(20,0,100) #@gimp : Shading = float(0.1,0,0.5) #@gimp : Thin separators = bool(1) #@gimp : Equalize = bool(1) #@gimp : sep = separator() #@gimp : Layer Fx = choice("Grain Merge","Hard Light","Soft Light","Overlay","Color Burn ","Multiply","Skip Merging") #@gimp : Opacity = float(1,0,1) #@gimp : sep = separator() #@gimp : sep = separator() #@gimp : note = note("Quick Corrections and Special Fx")
#@gimp : Apply Mask = bool(true) #@gimp : note = note(" Contrast Mask preset") #@gimp : sep = separator() #@gimp : Raise Local Contrast = bool(false) #@gimp : note = note("Local Normalization preset") #@gimp : sep = separator() #@gimp : sep = separator()
#@gimp : note = note("Mirrors Controls") #@gimp : Activate Mirrors = bool(true) #@gimp : sep = separator() #@gimp : Iterations = int(1,1,10) #@gimp : X-offset = float(0,0,100) #@gimp : Y-offset = float(0,0,100) #@gimp : Array mode = choice(2,"X-axis","Y-axis","XY-axes","2XY-axes") #@gimp : Initialization = choice("Original","Mirror X","Mirror Y","Rotate 90 deg.","Rotate 180 deg.","Rotate 270 deg.") #@gimp : Expand size = _bool(false) #@gimp : sep = separator(), Preview type = choice("Full","Forward horizontal","Forward vertical","Backward horizontal","Backward vertical") #@gimp : sep = separator()
#@gimp : sep = separator(), note = note("<small>Author : <i>PhotoComix;</i>. Latest update : <i>2011/03/30</i>.</small>") gimp_psy_glass1 :
-if {$1==0} -blur 0.1 -stained_glass $2,$3,$4 -n 0,255 -elif {$1==1} -negative -blur 0.1 -stained_glass $2,$3,$4 -n 0,255 -negative -endif -if $5 -equalize[-1] 256 -endif
-if {$6==0} --blur 0.9 -gimp_compose_grainmerge $7 -elif {$6==1} --blur 0.9 -gimp_compose_hardlight $7 -elif {$6==2} --blur 0.9 -gimp_compose_softlight $7 -elif {$6==3} --blur 0.9 -gimp_compose_overlay $7 -elif {$6==4} --blur 0.9 -gimp_compose_colorburn $7 -elif {$6==5} --blur 0.9 -gimp_compose_multiply $7 -elif {$6==6} -gimp_do_nothing -endif
-if {$8==0} -gimp_do_nothing -elif {$8==1} -gimp_contrast_swm 2,0,1,0 -endif
-if {$9==0} -gimp_do_nothing -elif {$9==1} -gimp_normalize_local 2,6,5,20,1,3,0 -endif
-if {$10==0} -gimp_do_nothing -return -endif
-if {$15==1} -mirror x -elif {$15==2} -mirror y -elif {$15==3} -rotate 90 -elif {$15==4} -rotate 180 -elif {$15==5} -rotate 270 -endif -array_mirror $11,$14,$16 -shift -$12%,-$13%,0,0,2
gimp_psy_glass1_preview : -gimp_split_preview " -gimp_psy_glass1 ${1--2}",$-1
Basically i had to remove the support for multiple input/output ( i.e apply the filter to all layers to create new images ) that anyway is seldom used...fix that is up to David but now should be no more error
_________________ My 3D Gallery on Deviantart http://photocomix2.deviantart.com/ Main gallery http://www.flickriver.com/photos/photocomix-mandala/ Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/
![Image](http://farm4.static.flickr.com/3262/2346652286_fe022f3934_o.jpg)
Mrs Wilbress
|