projects
/
platform
/
core
/
uifw
/
dali-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7910243
)
Fixed Actor not callind mAttachment->Connect if Actor::AddRenderer is called after...
39/43839/3
author
Chu Hoang
<c.hoang@samsung.com>
Tue, 14 Jul 2015 11:18:21 +0000
(12:18 +0100)
committer
Chu Hoang
<c.hoang@samsung.com>
Tue, 14 Jul 2015 16:03:34 +0000
(09:03 -0700)
Change-Id: Icda4d33e0abae3b91c790076f82493c4062242d6
dali/internal/event/actors/actor-impl.cpp
patch
|
blob
|
history
diff --git
a/dali/internal/event/actors/actor-impl.cpp
b/dali/internal/event/actors/actor-impl.cpp
index
b55aae3
..
ccbd15e
100644
(file)
--- a/
dali/internal/event/actors/actor-impl.cpp
+++ b/
dali/internal/event/actors/actor-impl.cpp
@@
-1420,6
+1420,10
@@
unsigned int Actor::AddRenderer( Renderer& renderer )
if ( ! mAttachment )
{
mAttachment = RendererAttachment::New( GetEventThreadServices(), *mNode, renderer );
+ if( mIsOnStage )
+ {
+ mAttachment->Connect();
+ }
}
return 0;