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

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

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: P2: Important P2: Important
    • 5.14.0 Beta 1
    • None
    • Quick: 3D
    • None

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes