crevice derive macro: fix path to render_resource when importing from bevy (#3438)

# Objective

- Fix #3436 

## Solution

- Do not add twice `render_resource` when coming from `bevy`


Co-authored-by: François <8672791+mockersf@users.noreply.github.com>
This commit is contained in:
François 2021-12-26 19:04:02 +00:00
parent 06d9384447
commit f3b053d11f

View File

@ -41,7 +41,6 @@ fn bevy_crevice_path() -> Path {
.map(|bevy_path| {
let mut segments = bevy_path.segments;
segments.push(BevyManifest::parse_str("render"));
segments.push(BevyManifest::parse_str("render_resource"));
Path {
leading_colon: None,
segments,