- Minor cleanup

This commit is contained in:
Nils Hausfeld
2023-10-06 17:50:19 +02:00
parent ea355dd560
commit 63d57151d0
2 changed files with 3 additions and 3 deletions

View File

@@ -36,7 +36,7 @@ namespace FlaxEditor.Surface.Archetypes
{ {
private AssetSelect _assetSelect; private AssetSelect _assetSelect;
private Box _assetBox; private Box _assetBox;
/// <inheritdoc /> /// <inheritdoc />
public Sample(uint id, VisjectSurfaceContext context, NodeArchetype nodeArch, GroupArchetype groupArch) public Sample(uint id, VisjectSurfaceContext context, NodeArchetype nodeArch, GroupArchetype groupArch)
: base(id, context, nodeArch, groupArch) : base(id, context, nodeArch, groupArch)
@@ -77,7 +77,7 @@ namespace FlaxEditor.Surface.Archetypes
public override void ConnectionTick(Box box) public override void ConnectionTick(Box box)
{ {
base.ConnectionTick(box); base.ConnectionTick(box);
if(box.ID != _assetBox.ID) if(box.ID != _assetBox.ID)
return; return;

View File

@@ -772,7 +772,7 @@ void AnimGraphExecutor::ProcessGroupAnimation(Box* boxBase, Node* nodeBase, Valu
else else
anim = nullptr; anim = nullptr;
} }
const float length = anim ? anim->GetLength() : 0.0f; const float length = anim ? anim->GetLength() : 0.0f;
// Calculate new time position // Calculate new time position