Details
-
Task
-
Resolution: Fixed
-
P3: Somewhat important
-
None
-
None
-
93157f5693d0b94c20e5e8b9bfdb1048491aa292
Description
For some weird reason materialdef files contain an absolute path to themselves. This makes them painful to share among several developers, as they'll appear modified again and again and again in any version control system solely by opening a project. This can amount to tens of files.
=> make this a relative path (or remove it altogether, the file's path is where you just read it from)
note: in DocumentEditor.cpp, line 2158:
const QFileInfo fileInfo(file);
writeProperty(file, QStringLiteral("path"), fileInfo.absoluteFilePath());