diff --git a/Source/Editor/SceneGraph/Actors/StaticModelNode.cs b/Source/Editor/SceneGraph/Actors/StaticModelNode.cs
index c87e21ffc..3bf69d7a2 100644
--- a/Source/Editor/SceneGraph/Actors/StaticModelNode.cs
+++ b/Source/Editor/SceneGraph/Actors/StaticModelNode.cs
@@ -170,7 +170,7 @@ namespace FlaxEditor.SceneGraph.Actors
// Refit into the sphere bounds that are usually calculated from mesh box bounds
Position = bounds.Center,
- Radius = bounds.Radius / (Real)(Mathf.Max((float)actor.Scale.MaxValue, 0.0001f) * 0.707f),
+ Radius = (float)bounds.Radius / Mathf.Max((float)actor.Scale.MaxValue, 0.0001f) * 0.707f,
};
spawner(collider);
}
diff --git a/Source/Editor/SceneGraph/RootNode.cs b/Source/Editor/SceneGraph/RootNode.cs
index 07c2ed3bf..1a3e47be8 100644
--- a/Source/Editor/SceneGraph/RootNode.cs
+++ b/Source/Editor/SceneGraph/RootNode.cs
@@ -159,6 +159,7 @@ namespace FlaxEditor.SceneGraph
///
/// The actor.
/// The parent.
+ /// Custom index in parent to use. Value -1 means the default one (the last one).
public abstract void Spawn(Actor actor, Actor parent, int orderInParent = -1);
///