Bug in GetLayerStyle()---in the "Type" field
Posted: Tue Jan 15, 2013 11:03 pm
Test this code:
Code: Select all
EnableLayers()
LoadBrush(1, "Test.png")
DisplayBrush(1, 0, 0, {Name="BrushLayer"})
t=GetLayerStyle("BrushLayer")
DebugPrint(t.type); The field "type" is not initialized by GetLayerStyle()