Tweaks and fixes
This commit is contained in:
@@ -525,11 +525,11 @@ namespace FlaxEditor.GUI.Timeline
|
|||||||
private void EndMoving()
|
private void EndMoving()
|
||||||
{
|
{
|
||||||
_isMoving = false;
|
_isMoving = false;
|
||||||
_startMoveLeftEdge = false;
|
|
||||||
_startMoveRightEdge = false;
|
|
||||||
|
|
||||||
if (_startMoveLeftEdge || _startMoveRightEdge)
|
if (_startMoveLeftEdge || _startMoveRightEdge)
|
||||||
{
|
{
|
||||||
|
_startMoveLeftEdge = false;
|
||||||
|
_startMoveRightEdge = false;
|
||||||
|
|
||||||
// Re-assign the media start/duration inside the undo recording block
|
// Re-assign the media start/duration inside the undo recording block
|
||||||
if (_startMoveStartFrame != _startFrame || _startMoveDuration != _durationFrames)
|
if (_startMoveStartFrame != _startFrame || _startMoveDuration != _durationFrames)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -476,11 +476,6 @@ void ManagedEditor::OnEditorAssemblyLoaded(MAssembly* assembly)
|
|||||||
CreateManaged();
|
CreateManaged();
|
||||||
}
|
}
|
||||||
|
|
||||||
String ManagedEditor::ToString() const
|
|
||||||
{
|
|
||||||
return TEXT("ManagedEditor");
|
|
||||||
}
|
|
||||||
|
|
||||||
void ManagedEditor::DestroyManaged()
|
void ManagedEditor::DestroyManaged()
|
||||||
{
|
{
|
||||||
// Ensure to cleanup managed stuff
|
// Ensure to cleanup managed stuff
|
||||||
|
|||||||
@@ -145,6 +145,5 @@ private:
|
|||||||
public:
|
public:
|
||||||
|
|
||||||
// [PersistentScriptingObject]
|
// [PersistentScriptingObject]
|
||||||
String ToString() const override;
|
|
||||||
void DestroyManaged() override;
|
void DestroyManaged() override;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ namespace FlaxEditor.Viewport.Previews
|
|||||||
// Playback Speed
|
// Playback Speed
|
||||||
{
|
{
|
||||||
var playbackSpeed = ViewWidgetButtonMenu.AddButton("Playback Speed");
|
var playbackSpeed = ViewWidgetButtonMenu.AddButton("Playback Speed");
|
||||||
var playbackSpeedValue = new FloatValueBox(-1, 90, 2, 70.0f, 0.0f, 10000.0f, 0.001f)
|
var playbackSpeedValue = new FloatValueBox(-1, 90, 2, 70.0f, -10000.0f, 10000.0f, 0.001f)
|
||||||
{
|
{
|
||||||
Parent = playbackSpeed
|
Parent = playbackSpeed
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -769,6 +769,12 @@ public:
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// An animation spline represented by a set of keyframes, each representing a value point.
|
||||||
|
/// </summary>
|
||||||
|
template<typename T>
|
||||||
|
using StepCurve = Curve<T, StepCurveKeyframe<T>>;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// An animation spline represented by a set of keyframes, each representing an endpoint of a linear curve.
|
/// An animation spline represented by a set of keyframes, each representing an endpoint of a linear curve.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@@ -384,7 +384,7 @@ public:
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// The slots animations.
|
/// The slots animations.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
Array<AnimGraphSlot> Slots;
|
Array<AnimGraphSlot, InlinedAllocation<4>> Slots;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
|||||||
@@ -183,8 +183,3 @@ void RenderBuffers::Release()
|
|||||||
UPDATE_LAZY_KEEP_RT(LuminanceMap);
|
UPDATE_LAZY_KEEP_RT(LuminanceMap);
|
||||||
#undef UPDATE_LAZY_KEEP_RT
|
#undef UPDATE_LAZY_KEEP_RT
|
||||||
}
|
}
|
||||||
|
|
||||||
String RenderBuffers::ToString() const
|
|
||||||
{
|
|
||||||
return TEXT("RenderBuffers");
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -175,9 +175,4 @@ public:
|
|||||||
/// Release the buffers data.
|
/// Release the buffers data.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
API_FUNCTION() void Release();
|
API_FUNCTION() void Release();
|
||||||
|
|
||||||
public:
|
|
||||||
|
|
||||||
// [PersistentScriptingObject]
|
|
||||||
String ToString() const override;
|
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user