|
|
@ -323,6 +323,13 @@ def highlight_selection(): |
|
|
|
# works, you need an algorithm for storing points selected, |
|
|
|
# works, you need an algorithm for storing points selected, |
|
|
|
# painting them permanently, and then moving them as the |
|
|
|
# painting them permanently, and then moving them as the |
|
|
|
# mouse drags. |
|
|
|
# mouse drags. |
|
|
|
|
|
|
|
# |
|
|
|
|
|
|
|
# |
|
|
|
|
|
|
|
# TODO: This movement idea will be in the after mouse release thing |
|
|
|
|
|
|
|
# the points hit will stay permanently highlighted until the |
|
|
|
|
|
|
|
# next mouse click. First mouse click will call |
|
|
|
|
|
|
|
# "remove_selection" to terminate movement. "remove_selection" |
|
|
|
|
|
|
|
# will also be called on mode change. |
|
|
|
glVertex3f(__clamp_x(point.x), |
|
|
|
glVertex3f(__clamp_x(point.x), |
|
|
|
__clamp_y(point.y), |
|
|
|
__clamp_y(point.y), |
|
|
|
0.0) |
|
|
|
0.0) |
|
|
|