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