update Draw > Line > Line2P

choose type with tool buttons
fix switching between types