[dia] svg: enable <defs/> definitions and referencing



commit 472600617181f24a920bee8ccb316948eb48994f
Author: Hans Breuer <hans breuer org>
Date:   Sat Aug 3 18:37:04 2013 +0200

    svg: enable <defs/> definitions and referencing
    
    This is just for shapes to be created by reference. More
    interesting stuff like gradients etc. pp. are still unsupported.

 plug-ins/svg/svg-import.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/plug-ins/svg/svg-import.c b/plug-ins/svg/svg-import.c
index 0b64f66..5beee88 100644
--- a/plug-ins/svg/svg-import.c
+++ b/plug-ins/svg/svg-import.c
@@ -1323,7 +1323,6 @@ read_items (xmlNodePtr   startnode,
        * Less commonly used are normal objects which could be supported here.
        */
       for (list = defs; list != NULL; list = g_list_next (list)) {
-#if 0
        DiaObject *otemp = list->data;
        gchar *id;
 
@@ -1345,7 +1344,6 @@ read_items (xmlNodePtr   startnode,
          g_free (otemp);
          list->data = NULL;
        }
-#endif
       }
     } else if(!xmlStrcmp(node->name, (const xmlChar *)"use")) {
       xmlChar *key = xmlGetProp (node, (const xmlChar *)"xlink:href");


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