Expose the ability to control manipulator line bounds (#3890)
Signed-off-by: hultonha <hultonha@amazon.co.uk>
This commit is contained in:
@@ -82,7 +82,6 @@ private:
|
||||
|
||||
namespace
|
||||
{
|
||||
|
||||
class QtApplicationListener
|
||||
: public AzToolsFramework::EditorEvents::Bus::Handler
|
||||
{
|
||||
@@ -99,20 +98,8 @@ namespace
|
||||
delete this;
|
||||
}
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
SGizmoSettings::SGizmoSettings()
|
||||
{
|
||||
axisGizmoSize = 0.2f;
|
||||
axisGizmoText = true;
|
||||
axisGizmoMaxCount = 50;
|
||||
helpersScale = 1.f;
|
||||
tagpointScaleMulti = 0.5f;
|
||||
rulerSphereScale = 0.5f;
|
||||
rulerSphereTrans = 0.5f;
|
||||
}
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
SEditorSettings::SEditorSettings()
|
||||
{
|
||||
@@ -564,18 +551,6 @@ void SEditorSettings::Save()
|
||||
SaveValue("Settings", "ShowScaleWarnings", viewports.bShowScaleWarnings);
|
||||
SaveValue("Settings", "ShowRotationWarnings", viewports.bShowRotationWarnings);
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
// Gizmos.
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
SaveValue("Settings", "AxisGizmoSize", gizmo.axisGizmoSize);
|
||||
SaveValue("Settings", "AxisGizmoText", gizmo.axisGizmoText);
|
||||
SaveValue("Settings", "AxisGizmoMaxCount", gizmo.axisGizmoMaxCount);
|
||||
SaveValue("Settings", "HelpersScale", gizmo.helpersScale);
|
||||
SaveValue("Settings", "TagPointScaleMulti", gizmo.tagpointScaleMulti);
|
||||
SaveValue("Settings", "RulerSphereScale", gizmo.rulerSphereScale);
|
||||
SaveValue("Settings", "RulerSphereTrans", gizmo.rulerSphereTrans);
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
|
||||
SaveValue("Settings", "TextEditorScript", textEditorForScript);
|
||||
SaveValue("Settings", "TextEditorShaders", textEditorForShaders);
|
||||
SaveValue("Settings", "TextEditorBSpaces", textEditorForBspaces);
|
||||
@@ -769,18 +744,6 @@ void SEditorSettings::Load()
|
||||
LoadValue("Settings", "ShowScaleWarnings", viewports.bShowScaleWarnings);
|
||||
LoadValue("Settings", "ShowRotationWarnings", viewports.bShowRotationWarnings);
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
// Gizmos.
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
LoadValue("Settings", "AxisGizmoSize", gizmo.axisGizmoSize);
|
||||
LoadValue("Settings", "AxisGizmoText", gizmo.axisGizmoText);
|
||||
LoadValue("Settings", "AxisGizmoMaxCount", gizmo.axisGizmoMaxCount);
|
||||
LoadValue("Settings", "HelpersScale", gizmo.helpersScale);
|
||||
LoadValue("Settings", "TagPointScaleMulti", gizmo.tagpointScaleMulti);
|
||||
LoadValue("Settings", "RulerSphereScale", gizmo.rulerSphereScale);
|
||||
LoadValue("Settings", "RulerSphereTrans", gizmo.rulerSphereTrans);
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
|
||||
LoadValue("Settings", "TextEditorScript", textEditorForScript);
|
||||
LoadValue("Settings", "TextEditorShaders", textEditorForShaders);
|
||||
LoadValue("Settings", "TextEditorBSpaces", textEditorForBspaces);
|
||||
|
||||
Reference in New Issue
Block a user