Skip to content

Commit e4fb30f

Browse files
committed
Final fix for reflect feature
1 parent b81a95d commit e4fb30f

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "bevy_sparse_tilemap"
33
description = "A Tilemap crate for the Bevy game engine with a focus on large map sizes and ECS sparse maps"
4-
version = "0.2.4"
4+
version = "0.2.5"
55
edition = "2021"
66
license = "MIT OR Apache-2.0"
77
readme = "README.md"

src/square/map_chunk_layer.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ use lettuces::storage::grid::Grid;
77
use std::hash::{Hash, Hasher};
88

99
#[cfg(feature = "reflect")]
10-
use bevy::prelude::{Reflect, MapEntities, ReflectComponent};
10+
use bevy::ecs::reflect::ReflectMapEntities;
11+
#[cfg(feature = "reflect")]
12+
use bevy::prelude::{Reflect, ReflectComponent};
1113

1214
#[cfg(feature = "serde")]
1315
use serde::{Deserialize, Serialize};

0 commit comments

Comments
 (0)