forked from qt-creator/qt-creator
QmlDesigner: Use actual material for model previews
Fixes: QDS-7412 Change-Id: Iec020578460e417e602f832ed0d667fbdda4e96a Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
This commit is contained in:
@@ -67,11 +67,6 @@ View3D {
|
||||
id: model
|
||||
source: _generalHelper.resolveAbsoluteSourceUrl(sourceModel)
|
||||
geometry: sourceModel.geometry
|
||||
|
||||
materials: [
|
||||
DefaultMaterial {
|
||||
diffuseColor: "#999999"
|
||||
}
|
||||
]
|
||||
materials: sourceModel.materials
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user