Commit 0bbdfe8f authored by claes's avatar claes

A copied ConGlue kept the same name, and connected connections was confused

parent 88393822
...@@ -233,6 +233,8 @@ void GlowArray::copy_from( const GlowArray& array) ...@@ -233,6 +233,8 @@ void GlowArray::copy_from( const GlowArray& array)
GrowConGlue *n = new GrowConGlue(*(GrowConGlue *)array.a[i]); GrowConGlue *n = new GrowConGlue(*(GrowConGlue *)array.a[i]);
n->highlight = 0; n->highlight = 0;
n->hot = 0; n->hot = 0;
// Fix, This should be done in the copy constructor !!!
sprintf(n->n_name, "O%d", ((GrowCtx *)(n->ctx))->get_next_objectname_num());
insert( n); insert( n);
break; break;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment