aboutsummaryrefslogtreecommitdiff
path: root/src/world/scene.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/world/scene.rs')
-rw-r--r--src/world/scene.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/world/scene.rs b/src/world/scene.rs
index 6d15fc1..87bec1f 100644
--- a/src/world/scene.rs
+++ b/src/world/scene.rs
@@ -14,7 +14,7 @@ impl Scene {
}
pub fn add_object(&mut self, obj: Object) {
- self.content.add(Box::new(obj));
+ self.content.add(obj);
}
pub fn add_objects(&mut self, objs: Vec<Object>) {