Give MultiViewportControllerInstances a pointer to their parent controller, to allow state management

This commit is contained in:
nvsickle
2021-04-30 10:43:27 -07:00
parent b294c88e2a
commit db9df91977
8 changed files with 49 additions and 27 deletions
@@ -28,8 +28,8 @@
namespace SandboxEditor
{
LegacyViewportCameraControllerInstance::LegacyViewportCameraControllerInstance(AzFramework::ViewportId viewportId)
: AzFramework::MultiViewportControllerInstanceInterface(viewportId)
LegacyViewportCameraControllerInstance::LegacyViewportCameraControllerInstance(AzFramework::ViewportId viewportId, LegacyViewportCameraController* controller)
: AzFramework::MultiViewportControllerInstanceInterface<LegacyViewportCameraController>(viewportId, controller)
{
}