Please test this code:
Code: Select all
EnableLayers()
CreateBrush(1, 100, 100, #BLUE)
DisplayBrush(1, #CENTER, #CENTER, {Name="TestLayer", Hidden=True})
WaitLeftMouse()
SetLayerStyle("TestLayer", {Hidden=False, Z=0})
Repeat
WaitEvent
Forever
Code: Select all
EnableLayers()
CreateBrush(1, 100, 100, #BLUE)
DisplayBrush(1, #CENTER, #CENTER, {Name="TestLayer", Hidden=True})
WaitLeftMouse()
SetLayerStyle("TestLayer", {Hidden=False, Z=0})
Repeat
WaitEvent
Forever
Confirmed. I'll fix this one. Thanks for the report!When the Z-Position is specified the layer remains hidden; if the Z-position is NOT specified, then the layer is shown as it should be. (Again, this is using Hollywood 4.8)