Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.6.1
-
None
Description
QMesh have two problems with status:-
1-It starts Loading the source only when the QMesh is added to a node and theĀ
Qt3DWindow is shown, only in those two conditions it starts loading, and it changes to Ready status only when the QApplication is executed, and there's no exposed function in the binding to force-load the source.
2-When the QMesh loads a source, it's status is an undocumented miss named status called "Status.ReadCorruptData", this status value is 2, which is the same value of "Status.Ready" based on the documentation.
The same applied for QSceneLoader, I provided two samples, one sample that print status of a QMesh after setting the source, proving it didn't load anything.
The other sample forces to load the QMesh using a dummy QEntity and a Qt3DWindow, and exceuting the QApplication, after closing the application, it will print the status of the QMesh, which is then Status.Ready.
I have no knowledge of Qt with C++, so I am providing what I can here.