diff --git a/fyrox-graph/src/lib.rs b/fyrox-graph/src/lib.rs index 443f33222..712b1d3f9 100644 --- a/fyrox-graph/src/lib.rs +++ b/fyrox-graph/src/lib.rs @@ -29,7 +29,7 @@ pub mod prelude { } use fxhash::FxHashMap; -use fyrox_core::pool::{ObjectOrVariant, PayloadContainer, PoolError}; +use fyrox_core::pool::{ObjectOrVariant, PoolError}; use fyrox_core::reflect::ReflectHandle; use fyrox_core::uuid::Uuid; use fyrox_core::{ @@ -650,7 +650,6 @@ impl Default for LinkScheme { /// SceneGraph is a trait for all scene graphs to implement. pub trait SceneGraph: 'static { type Prefab: PrefabData; - type NodeContainer: PayloadContainer; type Node: SceneGraphNode; /// Generate a string that briefly summarizes the content of the graph for debugging. @@ -1858,7 +1857,6 @@ mod test { impl SceneGraph for Graph { type Prefab = Graph; - type NodeContainer = NodeContainer; type Node = Node; fn summary(&self) -> String { diff --git a/fyrox-impl/src/scene/graph/mod.rs b/fyrox-impl/src/scene/graph/mod.rs index c8a603559..60ddbef78 100644 --- a/fyrox-impl/src/scene/graph/mod.rs +++ b/fyrox-impl/src/scene/graph/mod.rs @@ -2010,7 +2010,6 @@ impl Visit for Graph { impl SceneGraph for Graph { type Prefab = Model; - type NodeContainer = NodeContainer; type Node = Node; /// Create a brief debug summary of the contents of this graph. diff --git a/fyrox-ui/src/lib.rs b/fyrox-ui/src/lib.rs index ac6c51748..2ef34490e 100644 --- a/fyrox-ui/src/lib.rs +++ b/fyrox-ui/src/lib.rs @@ -3534,7 +3534,6 @@ impl PrefabData for UserInterface { impl SceneGraph for UserInterface { type Prefab = Self; - type NodeContainer = WidgetContainer; type Node = UiNode; fn summary(&self) -> String {