3Dickulus / FragM

Derived from https://github.com/Syntopia/Fragmentarium/
GNU General Public License v3.0
349 stars 30 forks source link

QDir::separator() bug #127

Closed 3Dickulus closed 4 years ago

3Dickulus commented 4 years ago

Describe the bug / on linux vs \ on windows in currentFragmentName() call from fqscript returns relative path instead of fragment name

To Reproduce

  1. run Fragmentarium from console
  2. press Ctrl+E
  3. cancel the initial file load for empty script editor
  4. type in one line -> print(app.currentFragmentName());
  5. select "Execute"
  6. observe console output

Expected behavior prints the current frag name without the path or .frag extension Additional context reported by SCORPION Windows only.

3Dickulus commented 4 years ago

reverted from QDir::Separator() to "/" commit 41e6db62e4e6ac0b5e0d8a7418e312d221cd386b closing for now...