Uploaded image for project: 'Qt 3D Studio'
  1. Qt 3D Studio
  2. QT3DS-4089

materialdef files should not contain an absolute path to themselves

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • P3: Somewhat important
    • Qt 3D Studio 2.7
    • None
    • Infrastructure
    • 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());

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            tuliniemi Jere Tuliniemi
            ub2000 u b
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes