diff options
Diffstat (limited to 'examples/quick3d/customgeometry/examplepoint.py')
| -rw-r--r-- | examples/quick3d/customgeometry/examplepoint.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/quick3d/customgeometry/examplepoint.py b/examples/quick3d/customgeometry/examplepoint.py index 6f0bfe0e1..3b4984222 100644 --- a/examples/quick3d/customgeometry/examplepoint.py +++ b/examples/quick3d/customgeometry/examplepoint.py @@ -48,5 +48,6 @@ class ExamplePointGeometry(QQuick3DGeometry): self.setPrimitiveType(QQuick3DGeometry.PrimitiveType.Points) self.addAttribute( - QQuick3DGeometry.Attribute.PositionSemantic, 0, QQuick3DGeometry.Attribute.F32Type + QQuick3DGeometry.Attribute.Semantic.PositionSemantic, 0, + QQuick3DGeometry.Attribute.ComponentType.F32Type ) |
