Commit 7ee5af44 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

+stop animation on reset button

parent 7d3b3d7b
......@@ -297,7 +297,10 @@ function prerun(){
//element.runtime.showAll("negY");
//if (showdefault) element.runtime.resetView();
//element.runtime.resetView();
if (animate) start_animation();
if (animate) {
stop_animation();
start_animation();
}
});
$("#main").append(rst_model);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment