mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-08 13:44:59 +00:00
Anim Editor: added basic particle spawner functionality and graphic frame randomiser
This commit is contained in:
@@ -34,6 +34,11 @@ class UIControls::BaseControl < BitmapSprite
|
||||
return self.bitmap.height
|
||||
end
|
||||
|
||||
def visible=(value)
|
||||
super
|
||||
@captured_area = nil if !self.visible
|
||||
end
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
|
||||
def mouse_pos
|
||||
@@ -83,7 +88,7 @@ class UIControls::BaseControl < BitmapSprite
|
||||
end
|
||||
|
||||
def busy?
|
||||
return !@captured_area.nil?
|
||||
return self.visible && !@captured_area.nil?
|
||||
end
|
||||
|
||||
def changed?
|
||||
|
||||
Reference in New Issue
Block a user