QmlDesigner: Add missing camera plane ring to point light model

Task-number: QDS-2037
Change-Id: Ica5a7ec2983da251d2ab75565120423288de27a2
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Miikka Heikkinen
2020-05-11 13:01:32 +03:00
parent 3d162524e4
commit 387657b83a
4 changed files with 27 additions and 14 deletions

View File

@@ -32,7 +32,7 @@ Model {
property alias geometryName: lightGeometry.name // Name must be unique for each geometry
property alias geometryType: lightGeometry.lightType
property color color
property Material material
function updateGeometry()
{
@@ -42,14 +42,7 @@ Model {
scale: Qt.vector3d(50, 50, 50)
geometry: lightGeometry
materials: [
DefaultMaterial {
id: defaultMaterial
emissiveColor: lightModel.color
lighting: DefaultMaterial.NoLighting
cullMode: Material.NoCulling
}
]
materials: [ material ]
LightGeometry {
id: lightGeometry