wonder-sk / CadNodeTool

CAD-enabled node tool for QGIS
2 stars 3 forks source link

Uncaught AssertionError #14

Closed saberraz closed 7 years ago

saberraz commented 7 years ago

Steps to reproduce

  1. First
  2. Second
  3. Third
Traceback (most recent call last):
  File "C:/Users/saber/.qgis2/python/plugins\CadNodeTool\nodetool.py", line 272, in cadCanvasMoveEvent
    self.mouse_move_not_dragging(e)
  File "C:/Users/saber/.qgis2/python/plugins\CadNodeTool\nodetool.py", line 407, in mouse_move_not_dragging
    is_circular_vertex = _is_circular_vertex(geom, m.vertexIndex())
  File "C:/Users/saber/.qgis2/python/plugins\CadNodeTool\nodetool.py", line 62, in _is_circular_vertex
    assert isinstance(g, QgsCurveV2)
AssertionError

CadNodeTool 1.0, QGIS 2.14.5-Essen on Windows 7

wonder-sk commented 7 years ago

When does that happen?

saberraz commented 7 years ago

When working with polygons.