Don't fire [component (parent-activated)] when the actor is still blocked (for #2)
This commit is contained in:
parent
b3a6fd3f78
commit
46473ee8ce
|
@ -151,11 +151,12 @@
|
||||||
(defmethod parent-activated ((this actor) parent)
|
(defmethod parent-activated ((this actor) parent)
|
||||||
"Called when the actor's parent is activated."
|
"Called when the actor's parent is activated."
|
||||||
[this (recompute-blocked-p)]
|
[this (recompute-blocked-p)]
|
||||||
(loop for child-ptr in [this children]
|
(when [this tree-active-p]
|
||||||
for child = (weak-pointer-value child-ptr)
|
(loop for child-ptr in [this children]
|
||||||
do [child (parent-activated parent)])
|
for child = (weak-pointer-value child-ptr)
|
||||||
(loop for component in [this components]
|
do [child (parent-activated parent)])
|
||||||
do [component (parent-activated parent)]))
|
(loop for component in [this components]
|
||||||
|
do [component (parent-activated parent)])))
|
||||||
|
|
||||||
(defmethod parent-changed ((this actor))
|
(defmethod parent-changed ((this actor))
|
||||||
"Called when the actor's parent is changed."
|
"Called when the actor's parent is changed."
|
||||||
|
|
Loading…
Reference in New Issue