]> granicus.if.org Git - graphviz/commitdiff
smyrna: remove unused 'edgerendertype'
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 21 Dec 2022 05:36:49 +0000 (21:36 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 24 Dec 2022 19:42:15 +0000 (11:42 -0800)
cmd/smyrna/smyrnadefs.h
cmd/smyrna/viewport.c

index 9327f98ddfa9c06f10fa28330fdca4779f02c272..1aa39bcd7c38dc4a64300028d1f57773f27bdf1f 100644 (file)
@@ -432,7 +432,6 @@ typedef struct
        mouse_action_t* mouse_actions;  /*customizable moouse interraction list*/
        size_t mouse_action_count;
        refresh_filter refresh;
-       int edgerendertype;
        float nodeScale;
        int guiMode;
        char* optArg;
index 3a5c34f099efdf8f38e70169dc11d1985a8b11ae..9880728eebf6c2849d58fc309774f2e40c62ccea 100644 (file)
@@ -214,8 +214,6 @@ void set_viewport_settings_from_template(ViewInfo *vi, Agraph_t *g) {
     vi->colschms =
        create_color_theme(atoi
                           (get_attribute_value("colortheme", vi, g)));
-    vi->edgerendertype=atoi(get_attribute_value("edgerender", vi, g));
-
 
     if (vi->graphCount > 0)
        glClearColor(vi->bgColor.R, vi->bgColor.G, vi->bgColor.B, vi->bgColor.A);       //background color
@@ -384,7 +382,6 @@ void init_viewport(ViewInfo * view)
     view->refresh.pos=1;
     view->refresh.selection=1;
     view->refresh.nodesize=1;
-    view->edgerendertype=0;
     if(view->guiMode!=GUI_FULLSCREEN)
        view->guiMode=GUI_WINDOWED;