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

Crash when changing shader after modifying current shader externally

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P2: Important
    • Qt 3D Studio 2.7
    • Qt 3D Studio 2.5
    • Editor Application
    • None

    Description

      Create presentation, add object, add two materials to presentation and set object material to animated material. Select one of the material shaders for the object material. Modify shader externally. Change material shader to another. Studio crashes with stack

      > Qt3DStudio.exe!qt3dsdm::CSimpleDataCore::GetPropertyDefinitionNF(int inHandle, const std::unordered_map<int,std::shared_ptr<qt3dsdm::CHandleObject>,std::hash<int>,std::equal_to<int>,std::allocator<std::pair<int const ,std::shared_ptr<qt3dsdm::CHandleObject>>>> & inObjects) Line 277 C+> Qt3DStudio.exe!qt3dsdm::CSimpleDataCore::GetPropertyDefinitionNF(int inHandle, const std::unordered_map<int,std::shared_ptr<qt3dsdm::CHandleObject>,std::hash<int>,std::equal_to<int>,std::allocator<std::pair<int const ,std::shared_ptr<qt3dsdm::CHandleObject>>>> & inObjects) Line 277 C  Qt3DStudio.exe!qt3dsdm::CSimpleDataCore::GetProperty(qt3dsdm::Qt3DSDMPropertyHandle inProperty) Line 165 C  Qt3DStudio.exe!qt3dsdm::CDataCoreProducer::GetProperty(qt3dsdm::Qt3DSDMPropertyHandle inProperty) Line 172 C  Qt3DStudio.exe!`anonymous namespace'::SNewMetaDataImpl::GetMetaDataProperty(qt3dsdm::Qt3DSDMInstanceHandle inInstance, qt3dsdm::Qt3DSDMPropertyHandle inProperty) Line 1432 C  Qt3DStudio.exe!`anonymous namespace'::SNewMetaDataImpl::GetAdditionalMetaDataType(qt3dsdm::Qt3DSDMInstanceHandle inInstance, qt3dsdm::Qt3DSDMPropertyHandle inProperty) Line 1492 C  Qt3DStudio.exe!qt3dsdm::CStudioPropertySystem::GetAdditionalMetaDataType(qt3dsdm::Qt3DSDMInstanceHandle inInstance, qt3dsdm::Qt3DSDMPropertyHandle inProperty) Line 77 C  Qt3DStudio.exe!InspectorControlModel::createItem(Qt3DSDMInspectable * inspectable, const qt3dsdm::SMetaDataPropertyInfo & metaProperty, int groupIndex) Line 786 C  Qt3DStudio.exe!InspectorControlModel::createItem(Qt3DSDMInspectable * inspectable, Q3DStudio::Qt3DSDMInspectorRow * row, int groupIndex) Line 758 C  Qt3DStudio.exe!InspectorControlModel::computeGroup(CInspectableBase * inspectable, int index, bool disableAnimation, bool isReference) Line 1118 C  Qt3DStudio.exe!InspectorControlModel::computeTree(CInspectableBase * inspectableBase) Line 1054 C  Qt3DStudio.exe!InspectorControlModel::rebuildTree() Line 1161 C  Qt3DStudio.exe!InspectorControlModel::setInspectable(CInspectableBase * inInspectable) Line 124 C  Qt3DStudio.exe!InspectorControlView::setInspectable(CInspectableBase * inInspectable) Line 474 C  Qt3DStudio.exe!InspectorControlView::OnSelectionSet(Q3DStudio::SSelectedValue selectable) Line 411 C+

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jakangas Janne Kangas
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: