In a graphical handle, selecting children with booleans fails
Reported by Samuel GOUGEON (@sgougeon)
BUG DESCRIPTION:
----------------
--> t = 0:0.01:2*%pi;
--> polarplot(t, -1 + sin(t));
--> elements = gca().children;
--> angFrame = elements.type=="Arc";
--> elements(angFrame).foreground = color("green");
at line 28 of function %h_e ( SCI\modules\graphics\macros\%h_e.sci line 40 )
Invalid path
ERROR LOG:
----------
at line 28 of function %h_e ( SCI\modules\graphics\macros\%h_e.sci line 40 )
Invalid path
HOW TO REPRODUCE THE BUG:
-------------------------
t = 0:0.01:2*%pi;
polarplot(t, -1 + sin(t));
elements = gca().children;
angFrame = elements.type=="Arc";
elements(angFrame).foreground = color("green");
OTHER INFORMATION:
------------------
Same issue in Scilab 6.0.1