userdata and tag are hidden light properties
Reported by Samuel GOUGEON (@sgougeon)
Originally assigned to Charlotte HECQUET
BUG DESCRIPTION:
----------------
.userdata and .tag are existing light properties: they can be set and readout.
But they are neither displayed in the handle, nor documented.
--> l = light()
l =
Handle of type "Light" with properties:
=======================================
parent: Axes
visible = "on"
light_type = "point"
position = [0,0,1]
direction = [0,0,1]
ambient_color = [0.1,0.1,0.1]
diffuse_color = [1,1,1]
specular_color= [1,1,1]
--> l.userdata = "Source 1";
--> l.userdata
ans =
Source 1
--> l.tag = "LS1";
--> l.tag
ans
LS1
HOW TO REPRODUCE THE BUG:
-------------------------
l = light()
l.userdata = "Source 1";
l.userdata
l.tag = "LS1";
l.tag
http://help.scilab.org/docs/5.5.2/en_US/light_properties.html
OTHER INFORMATION:
------------------
Same in Scilab 6.0.0-alpha1