Remove try catch in light demo because 'stack problem..., cleared' message appears
[scilab.git] / scilab / modules / graphics / demos / lighting / rot_plot3d.dem.sce
index 160f22d..8e6bf25 100644 (file)
@@ -19,12 +19,9 @@ function demo_rot_light()
     s=gce();
     a=gca();
 
-    try
-        for i=1:360
-            sleep(5);
-            a.rotation_angles = [70 i];
-        end
-    catch
+    for i=1:360
+        sleep(5);
+        a.rotation_angles = [70 i];
     end
     // DEMO END
 endfunction