Revert "[Tizen] Relayout only if the actor is on Scene"
authorDaekwang Ryu <dkdk.ryu@samsung.com>
Tue, 26 Apr 2022 01:42:57 +0000 (10:42 +0900)
committerDaekwang Ryu <dkdk.ryu@samsung.com>
Tue, 26 Apr 2022 01:42:57 +0000 (10:42 +0900)
This reverts commit 5a557529859e267b142cecc05b6b02f0f8d649c2.

dali/internal/event/size-negotiation/relayout-controller-impl.cpp

index 497f515..fbf0411 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2022 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2021 Samsung Electronics Co., Ltd.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -446,7 +446,7 @@ void RelayoutController::Relayout()
         Actor& actorImpl = GetImplementation(actor);
         mRelayoutStack->PopBack();
 
-        if(actorImpl.RelayoutRequired() && actorImpl.OnScene())
+        if(actorImpl.RelayoutRequired())
         {
           DALI_LOG_INFO(gLogFilter, Debug::General, "[Internal::RelayoutController::Relayout] Negotiating %p %s %s (%.2f, %.2f)\n", &actorImpl, actor.GetTypeName().c_str(), actor.GetProperty<std::string>(Dali::Actor::Property::NAME).c_str(), size.width, size.height);