Engine icon indicating copy to clipboard operation
Engine copied to clipboard

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

Open Trico-Everfire opened this issue 2 years ago • 1 comments

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

Trico-Everfire avatar Sep 11 '23 22:09 Trico-Everfire

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

JJL772 avatar Nov 25 '23 18:11 JJL772