mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2026-07-22 15:47:00 +00:00
Update 6.8
This commit is contained in:
@@ -225,6 +225,11 @@ class AnimatedPlane < LargePlane
|
||||
def setBitmap(file, hue=0)
|
||||
clearBitmaps()
|
||||
return if file==nil
|
||||
file = pbLocalizedBitmapFilename(file)
|
||||
if isDarkMode
|
||||
darkmode_file = file + "_dark"
|
||||
file = darkmode_file if pbResolveBitmap(darkmode_file)
|
||||
end
|
||||
@bitmap=AnimatedBitmap.new(file,hue)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user