StrataSource / Engine

Issue tracker for Strata Source
47 stars 2 forks source link

Bug: StudioMDL fails to load smd if 2 of the same directory exist in the same path but different case #926

Open Trico-Everfire opened 1 year ago

Trico-Everfire commented 1 year ago

Describe the bug

studioMDL fails to find a .smd file when trying to compile a .qc file if the path to that .smd file has a folder and ad that folder's location there is a folder with the same name just different case it will fail to see the smd file.

image (this will fail because p2ce and P2CE share a name, presumably StudioMDL does not account for this.)

To Reproduce

  1. create a folder anywhere along the .qc/.smd's path with the exact same name as the folder you're placing it next just with a different casing.
  2. try to compile the model.
  3. it fails

Issue Map

N/A

Expected Behavior

for it to distinguish between case folders.

Operating System

Linux, KDE Neon, Plasma

JJL772 commented 11 months ago

Source filesystem is not case sensitive, this is a pretty big limitation that I don't think can be easily remedied.