Fix Gizmo issue
For some reason the cleanup changed TransformGizmo to TransformGizmoBase in a few files.
This commit is contained in:
@@ -12,7 +12,7 @@ namespace FlaxEditor.Gizmo
|
||||
/// </summary>
|
||||
/// <seealso cref="TransformGizmoBase" />
|
||||
[HideInEditor]
|
||||
public class TransformGizmoBase : TransformGizmoBase
|
||||
public class TransformGizmo : TransformGizmoBase
|
||||
{
|
||||
/// <summary>
|
||||
/// Applies scale to the selected objects pool.
|
||||
@@ -42,10 +42,10 @@ namespace FlaxEditor.Gizmo
|
||||
public List<SceneGraphNode> SelectedParents => _selectionParents;
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="TransformGizmoBase" /> class.
|
||||
/// Initializes a new instance of the <see cref="TransformGizmo" /> class.
|
||||
/// </summary>
|
||||
/// <param name="owner">The gizmos owner.</param>
|
||||
public TransformGizmoBase(IGizmoOwner owner)
|
||||
public TransformGizmo(IGizmoOwner owner)
|
||||
: base(owner)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -134,7 +134,7 @@ namespace FlaxEditor.Viewport
|
||||
/// <summary>
|
||||
/// The transform gizmo.
|
||||
/// </summary>
|
||||
public readonly TransformGizmoBase TransformGizmo;
|
||||
public readonly TransformGizmo TransformGizmo;
|
||||
|
||||
/// <summary>
|
||||
/// The grid gizmo.
|
||||
@@ -196,7 +196,7 @@ namespace FlaxEditor.Viewport
|
||||
Task.CustomPostFx.Add(_editorSpritesRenderer);
|
||||
|
||||
// Add transformation gizmo
|
||||
TransformGizmo = new TransformGizmoBase(this);
|
||||
TransformGizmo = new TransformGizmo(this);
|
||||
TransformGizmo.ApplyTransformation += ApplyTransform;
|
||||
TransformGizmo.ModeChanged += OnGizmoModeChanged;
|
||||
TransformGizmo.Duplicate += Editor.Instance.SceneEditing.Duplicate;
|
||||
|
||||
@@ -44,7 +44,7 @@ namespace FlaxEditor.Viewport
|
||||
/// <summary>
|
||||
/// The transform gizmo.
|
||||
/// </summary>
|
||||
public readonly TransformGizmoBase TransformGizmo;
|
||||
public readonly TransformGizmo TransformGizmo;
|
||||
|
||||
/// <summary>
|
||||
/// The selection outline postFx.
|
||||
@@ -82,7 +82,7 @@ namespace FlaxEditor.Viewport
|
||||
Task.CustomPostFx.Add(EditorPrimitives);
|
||||
|
||||
// Add transformation gizmo
|
||||
TransformGizmo = new TransformGizmoBase(this);
|
||||
TransformGizmo = new TransformGizmo(this);
|
||||
TransformGizmo.ApplyTransformation += ApplyTransform;
|
||||
TransformGizmo.ModeChanged += OnGizmoModeChanged;
|
||||
TransformGizmo.Duplicate += _window.Duplicate;
|
||||
|
||||
Reference in New Issue
Block a user