deselect points on clearing path

This commit is contained in:
gnembon committed 2019-12-27 13:26:29 -04:00
1 parent 4f52a04d84
commit f8e5a2ae22
1 file changed
+2
@@ -85,6 +85,7 @@ __start_with(points_supplier) ->
global_color_b = str('dust %.1f %.1f %.1f 1',(((code/1000)%10)/10),(((code/10000)%10)/10), (((code/100000)%10)/10) );// 'dust 0.6 0.6 0.6 1'
global_points = call(points_supplier);
global_selected_point = null;
__update();
show();
str('Started path at %.1f %.1f %.1f', p~'x', p~'y', p~'z');
@@ -105,6 +106,7 @@ clear() ->
global_points = l();
global_dimension = null;
global_player = null;
global_selected_point = null;
global_showing_path = false;
global_playing_path = false;
__update();