Details
-
Bug
-
Resolution: Cannot Reproduce
-
P1: Critical
-
None
-
6.4.2
Description
User reported a crash when a Stackview with custom vertex shader is used with MSVC2019 64bit. Same does not occur with MinGW 64-bit
Steps to reproduce with the attached example:
The example has also two buttons to push and pop the two pages.
Execution:
1. At the beginning of execution the stack loads page 1.
2. Press the Load button to load the 3d view page.
3. Then, Press the Back button (to return to the previous page).
4. The application crashed for no reason.
If following lines of vertex shader code (Model component in MyView3D.qml) are commented out the crash does not occur:
Model { id: theModel source: "meshes/plane.mesh" pickable: true scale: Qt.vector3d(100, 100, 100) materials: CustomMaterial { property real amplitude: 6 vertexShader: "material.vert" <<<<< --------------- This one fragmentShader: "material.frag" property TextureInput someTextureMap: TextureInput { texture: Texture { source: "textura.jpeg" } } property TextureInput heightMap: TextureInput { <<<<< --------------- This one texture: Texture { source: "alturas2.png" } <<<<< --------------- This one } <<<<< --------------- This one } }