* Bug #14035 fixed - ndgrid did not manage all homogeneous data type (booleans, integers, polynomials, rationals, strings, [])
+* Bug #14359 fixed - Black Hole demo updated. Stop and Clear buttons did not have priority tag set. Callback_type property has been added and set to 10.
+
* Bug #14423 fixed - bench_run did not have a return value, export file was not configurable
* Bug #14433 fixed - acoth (which call atanh) crash scilab
my_figure_handle = get("main_figure");
fin=my_figure_handle.user_data
my_figure_handle.user_data=%f
+ set("clear_button", "userdata", %f);
slider_r = get("slider_r");
slider_theta = get("slider_theta");
slider_speed = get("slider_speed");
end
end
+ if get("clear_button", "userdata") then
+ clear_simu()
+ end
+
if is_handle_valid(my_figure_handle) then
my_figure_handle.user_data = %t;
end
endfunction
function stop_simu()
- //stop button callback
- my_figure_handle = get("main_figure");
- fin = %T;
- my_figure_handle.user_data = fin
+ set("main_figure", "userdata", %t);
+ set("clear_button", "userdata", %f);
endfunction
function clear_simu()
curAxe = gca();
traj_handle = curAxe.children(1).children(5);
traj_handle.data = [0 0 0];
+ return
end
+ set("main_figure", "userdata", %t);
+ set("clear_button", "userdata", %t);
endfunction
"String", "Stop", ...
"Fontsize", 14, ...
"callback", "stop_simu", ...
+ "callback_type", 10, ...
"constraints", c_buttons, ...
"tag", "stop_button");
"String", "Clear", ...
"Fontsize", 14, ...
"callback", "clear_simu", ...
+ "callback_type", 10, ...
"constraints", c_buttons, ...
"tag", "clear_button");