Priority: P3: Somewhat important
Affects Version/s: 5.15.0
Fix Version/s: None
Component/s: Quick: SceneGraph
Please see the attachment,
if I initialize the QSGGeometry with 0 vertex, so in the first call of updatePaintNode, the vertex number is 0. Then in the rest of the calls when I allocate vertices according to the number of the samples. the geometrynode can not be drawn any more.
To fix this, I need to initialize the QSGGeometry with at least 1 vertex even through I don't have any points at this time.
Here is the content of updatePaintNode.