- Minor cleanup
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user