Manipulator Bounds updates (#5959)
* first pass updates to improve manipulators Signed-off-by: Tom Hulton-Harrop <82228511+hultonha@users.noreply.github.com> * add setting to enable/disable manipulator axis flipping Signed-off-by: Tom Hulton-Harrop <82228511+hultonha@users.noreply.github.com> * update manipulator cvar to use ed_ naming convention Signed-off-by: Tom Hulton-Harrop <82228511+hultonha@users.noreply.github.com> * wip updates to add AzToolsFramework values to the SettingsRegistry Signed-off-by: Tom Hulton-Harrop <82228511+hultonha@users.noreply.github.com> * expose a number of manipulator settings for configuration Signed-off-by: Tom Hulton-Harrop <82228511+hultonha@users.noreply.github.com> * add setting for manipulator base scale to change size of all manipulators together Signed-off-by: Tom Hulton-Harrop <82228511+hultonha@users.noreply.github.com> * minor updates before posting PR Signed-off-by: Tom Hulton-Harrop <82228511+hultonha@users.noreply.github.com> * add manipulator section for settings registry paths Signed-off-by: Tom Hulton-Harrop <82228511+hultonha@users.noreply.github.com> * fix for failing unit test after manipulator changes Signed-off-by: Tom Hulton-Harrop <82228511+hultonha@users.noreply.github.com> * fix total scale Signed-off-by: Tom Hulton-Harrop <82228511+hultonha@users.noreply.github.com> * fix for polygon prism component shape tests Signed-off-by: Tom Hulton-Harrop <82228511+hultonha@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
8f4ff91915
commit
8344539ab6
@@ -143,7 +143,7 @@ namespace LmbrCentral
|
||||
using EditorPolygonPrismShapeComponentManipulatorFixture =
|
||||
UnitTest::IndirectCallManipulatorViewportInteractionFixtureMixin<EditorPolygonPrismShapeComponentFixture>;
|
||||
|
||||
TEST_F(EditorPolygonPrismShapeComponentManipulatorFixture, PolygonPrismNonUniformScale_ManipulatorsScaleCorrectly)
|
||||
TEST_F(EditorPolygonPrismShapeComponentManipulatorFixture, PolygonPrismNonUniformScaleManipulatorsScaleCorrectly)
|
||||
{
|
||||
// set the non-uniform scale and enter the polygon prism shape component's component mode
|
||||
const AZ::Vector3 nonUniformScale(2.0f, 3.0f, 4.0f);
|
||||
@@ -171,8 +171,8 @@ namespace LmbrCentral
|
||||
const auto screenStart = AzFramework::WorldToScreen(worldStart, m_cameraState);
|
||||
const auto screenEnd = AzFramework::WorldToScreen(worldEnd, m_cameraState);
|
||||
|
||||
// small diagonal offset to ensure we interact with the planar manipulator and not one of the linear manipulators
|
||||
const AzFramework::ScreenVector offset(5, -5);
|
||||
// diagonal offset to ensure we interact with the planar manipulator and not one of the linear manipulators
|
||||
const AzFramework::ScreenVector offset(50, -50);
|
||||
|
||||
m_actionDispatcher
|
||||
->CameraState(m_cameraState)
|
||||
|
||||
Reference in New Issue
Block a user