Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-78868

Asset Import: Do not use Qt.vector3d(-90, 0, 0) syntax

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.14.0 Beta 1
    • Component/s: Quick: 3D
    • Labels:
      None
    • Technical Risk:
      Normal
    • Commits:
      9f38282fd6206796a70a55ee9497882e9e337375

      Description

      Qt Design Studio assigns rotations as rotation.x, rotation.y, rotation.z.

      The asset importer uses this syntax:
      rotation: Qt.vector3d(-90, 0, 0)
      scale: Qt.vector3d(0.2, 0.2, 0.2)

      We should not mix different ways of defining properties.
      For QDS rotation.y is the most natural way to assign such properties,
      because Qt.vector3d() is technically a function.

      The importer should create files that are 'designer-friendly'.

      The current syntax (Qt.vector3d(0.2, 0.2, 0.2) is somewhat supported in QDS. Files do show up,
      but it would require extra effort to support this syntax in the property editor.

        Attachments

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

          Activity

            People

            • Assignee:
              kagro Kaj Grönholm
              Reporter:
              thohartm Thomas Hartmann
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes