Fix LyShine bus attempt to connect twice (#2175)
Signed-off-by: abrmich <abrmich@amazon.com>
This commit is contained in:
@@ -148,7 +148,6 @@ namespace LyShine
|
||||
{
|
||||
LyShineAllocatorScope::ActivateAllocators();
|
||||
|
||||
LyShineRequestBus::Handler::BusConnect();
|
||||
UiSystemBus::Handler::BusConnect();
|
||||
UiSystemToolsBus::Handler::BusConnect();
|
||||
UiFrameworkBus::Handler::BusConnect();
|
||||
@@ -196,7 +195,6 @@ namespace LyShine
|
||||
UiSystemBus::Handler::BusDisconnect();
|
||||
UiSystemToolsBus::Handler::BusDisconnect();
|
||||
UiFrameworkBus::Handler::BusDisconnect();
|
||||
LyShineRequestBus::Handler::BusDisconnect();
|
||||
CrySystemEventBus::Handler::BusDisconnect();
|
||||
|
||||
LyShineAllocatorScope::DeactivateAllocators();
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
|
||||
#include <LmbrCentral/Rendering/MaterialAsset.h>
|
||||
|
||||
#include <LyShine/LyShineBus.h>
|
||||
#include <LyShine/Bus/UiSystemBus.h>
|
||||
#include <LyShine/Bus/UiCanvasManagerBus.h>
|
||||
#include <LyShine/Bus/Tools/UiSystemToolsBus.h>
|
||||
@@ -28,7 +27,6 @@ namespace LyShine
|
||||
|
||||
class LyShineSystemComponent
|
||||
: public AZ::Component
|
||||
, protected LyShineRequestBus::Handler
|
||||
, protected UiSystemBus::Handler
|
||||
, protected UiSystemToolsBus::Handler
|
||||
, protected LyShineAllocatorScope
|
||||
|
||||
Reference in New Issue
Block a user