[dia] [transform] account for group properties with drs import



commit 3b14f56d8c6579d453b5d495b5b773ec3c74d077
Author: Hans Breuer <hans breuer org>
Date:   Sun Aug 25 14:38:26 2013 +0200

    [transform] account for group properties with drs import
    
    previously the potential transformation matrix was simply ignored

 plug-ins/drs/dia-render-script-import.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/plug-ins/drs/dia-render-script-import.c b/plug-ins/drs/dia-render-script-import.c
index 524be9c..9bec0ed 100644
--- a/plug-ins/drs/dia-render-script-import.c
+++ b/plug-ins/drs/dia-render-script-import.c
@@ -182,6 +182,8 @@ read_items (xmlNodePtr startnode, DiaContext *ctx)
        moreitems = read_items (render->children, ctx);
        if (moreitems) {
          DiaObject *group = group_create (moreitems);
+           /* apply group props, e.g. transform */
+         object_load_props (group, props, ctx);
            /* group eats list */
          items = g_list_append (items, group);
        }


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