voxell-tech / bevy_motiongfx

Motion graphics creation tool in Bevy. (Highly inspired by Motion Canvas and Manim)
Apache License 2.0
169 stars 3 forks source link

Typst example can't work with theme specified #37

Closed AbstractiveNord closed 8 months ago

AbstractiveNord commented 8 months ago

Works only if I remove set theme. Also, I am using Linux and path looks strange, the .\\ part. Can't set absolute path either.

WARN naga_oil::compose::parse_imports: item list imports are deprecated, please use `rust::style::item_imports` (or use feature `allow_deprecated`)`
| #import bevy_render::view View

[
    SourceDiagnostic {
        severity: Error,
        span: Span(
            37906033158448,
        ),
        message: "file not found (searched at .\\assets/themes/Monokai Pro.tmTheme)",
        trace: [],
        hints: [],
    },
]
nixon-voxell commented 8 months ago

Hmm this is strange, I have encountered many issues regarding this theme path. I will take a look into it. I am on Windows tho, maybe that is the difference. Will work on the path issue also.

AbstractiveNord commented 8 months ago

I've got the culprit. right there.

nixon-voxell commented 8 months ago

Oo thanks, does it work tho if you change it to the correct format? Haha

AbstractiveNord commented 8 months ago

Should be fixed in #38 . Yes, it was path problem.

nixon-voxell commented 8 months ago

awesome, thanks @AbstractiveNord !