Changeset 213


Ignore:
Timestamp:
04/05/14 15:44:36 (8 years ago)
Author:
sz
Message:

Clarification on diagram.linetype

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/canvas/neurodiagram.cpp

    r197 r213  
    326326                drawLine(size.x / 4, yw, xw, yw); // first horizontal segment (to the left)
    327327                diagram.setWireColor(ns2->n->state, 0);
     328                // linetype: 1 (default) - draw straight or U-shape depending on layout
     329                //           0 (debug option) - only draw straight lines
    328330                if ((diagram.linetype != 1) || (ns2->pos.x + ns2->size.x / 2 < pos.x))
    329331                { // straight line to the other neuron's output (the signal goes forwards)
Note: See TracChangeset for help on using the changeset viewer.