-
Bug
-
Resolution: Fixed
-
P2
-
None
In the Media Browser tutorial, we use a reflection effect on the bottom row of thumbnails. The effect is defined as
def reflection : Effect = Reflection {
fraction: 0.6
topOpacity: 0.6
bottomOpacity: 0
topOffset: 3
}
If this is defined as a script var, then I get Image instances that aren't getting gc'd. If it is an instance var, then the Image instances do get gc'd.
I've attached the NetBeans project. The code of interest is in Thumbnail.fx.
def reflection : Effect = Reflection {
fraction: 0.6
topOpacity: 0.6
bottomOpacity: 0
topOffset: 3
}
If this is defined as a script var, then I get Image instances that aren't getting gc'd. If it is an instance var, then the Image instances do get gc'd.
I've attached the NetBeans project. The code of interest is in Thumbnail.fx.