Commit cf530345 authored by Christoffer Ackelman's avatar Christoffer Ackelman

Fixed grafcet connections not being drawn immediately on creation.

parent 39d78b91
...@@ -170,6 +170,10 @@ FlowCon::FlowCon(FlowCtx* flow_ctx, const char* name, FlowConClass* con_class, ...@@ -170,6 +170,10 @@ FlowCon::FlowCon(FlowCtx* flow_ctx, const char* name, FlowConClass* con_class,
cc->line_width); cc->line_width);
line_a.insert(l1); line_a.insert(l1);
} }
if (!nodraw) {
con_route_grafcet(cc->con_type, src_x, src_y, dest_x, dest_y);
}
break; break;
} }
case flow_eConType_Fixed: { case flow_eConType_Fixed: {
......
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