Skip to content
Browse files

merge in changes by Aralox

  • Loading branch information...
1 parent 975ea87 commit 2ef22391f0f9064e177a97392ec30ecf2906c9a1 @unhammer committed Aug 8, 2012
Showing with 16 additions and 16 deletions.
  1. +16 −16 layer-to-selection.scm
View
32 layer-to-selection.scm
@@ -1,15 +1,15 @@
(script-fu-register "layer-to-selection"
- "<Image>/Select/Layer to selection"
+ "<Image>/Select/_Layer to selection"
"Just make a layer selected. For some reason this is not built in."
-
- "(c) Kevin Brubeck Unhammer <unhammer(at)gmail.com>"
- "Published under GPL version 2"
- "March 8, 2009"
- "*"
-
- SF-IMAGE "Image" 0
- SF-DRAWABLE "Drawable" 0
+
+ "(c) Kevin Brubeck Unhammer <unhammer(at)fsfe.org>"
+ "Published under GPL version 2"
+ "March 8, 2009. Modified by Aralox 7th April 2012 (Fixed depreciated functions)"
+ "*"
+
+ SF-IMAGE "Image" 0
+ SF-DRAWABLE "Drawable" 0
)
(define
@@ -25,13 +25,13 @@
(height (car (gimp-drawable-height layer)))
(posx (car (gimp-drawable-offsets layer)))
(posy (cadr (gimp-drawable-offsets layer))))
- (gimp-image-select-rectangle image
- CHANNEL-OP-REPLACE
- posx
- posy
- width
- height
- ))
+ (gimp-image-select-rectangle image
+ CHANNEL-OP-REPLACE
+ posx
+ posy
+ width
+ height
+ ))
(gimp-image-undo-group-end image)

0 comments on commit 2ef2239

Please sign in to comment.
Something went wrong with that request. Please try again.