[gimp] Enables aligning of elements using the active Path



commit 8d85c0c41c5f0eb3f61633414ff2b9b7e1011944
Author: João S. O. Bueno <gwidion gmail com>
Date:   Wed Mar 12 21:59:46 2014 -0300

    Enables aligning of elements using the active Path
    
    For some reason, using the image active Path as
    a reference for the align tool was displayed
    in the UI, but disabled in the code.

 app/tools/gimpaligntool.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/tools/gimpaligntool.c b/app/tools/gimpaligntool.c
index 4be01d6..6d32cf6 100644
--- a/app/tools/gimpaligntool.c
+++ b/app/tools/gimpaligntool.c
@@ -789,7 +789,7 @@ gimp_align_tool_align (GimpAlignTool     *align_tool,
       break;
 
     case GIMP_ALIGN_REFERENCE_ACTIVE_PATH:
-      g_print ("reference = active path not yet handled.\n");
+      reference_object = G_OBJECT (gimp_image_get_active_vectors (image));
       break;
     }
 


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