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

CDocEditor::IsComponent doesn't work as expected

    XMLWordPrintable

Details

    • e8dd5dbf9b660e1e075f80d3449827f3de5cff60

    Description

      CDocEditor::IsComponent actually returns true if the instance is a slide owner, which means it'll return true for Scene instances, too. It is only used in one place, where it can be replaced with bridge.IsComponentInstance() call, which does what we expect it to do, so we can remove the entire misleading function. The fact that it returns true fro scenes causes crash with new material system.

      Attachments

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

        Activity

          People

            e0348803 Miikka Heikkinen
            e0348803 Miikka Heikkinen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes