Remove try catch in light demo because 'stack problem..., cleared' message appears
[scilab.git] / scilab / modules / graphics / demos / lighting / rot_light.dem.sce
index 2ca3304..e986823 100644 (file)
@@ -6,16 +6,17 @@
 
 function demo_rot_light()
 
-    my_handle             = scf(100001);
+    my_handle = scf(100001);
     clf(my_handle,"reset");
     demo_viewCode("rot_light.dem.sce");
 
     // DEMO START
-
     my_plot_desc          = "Rotating light";
     my_handle.figure_name = my_plot_desc;
 
-    plot3d;l=light();s=gce();
+    plot3d;
+    l=light();
+    s=gce();
 
     for i=0:2000
         sleep(5);
@@ -24,9 +25,7 @@ function demo_rot_light()
         z = 2;
         l.position = [x y z];
     end
-
     // DEMO END
-
 endfunction