forked from qt-creator/qt-creator
QmlDesigner: Enable MSAA on edit3D view
Change-Id: I792156d08378d025cb9dae9f3a8cb00439198a6d Reviewed-by: Jarko Vihriala <jarko.vihriala@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -823,6 +823,13 @@ Item {
|
|||||||
camera: viewRoot.usePerspective ? overlayPerspectiveCamera : overlayOrthoCamera
|
camera: viewRoot.usePerspective ? overlayPerspectiveCamera : overlayOrthoCamera
|
||||||
importScene: overlayScene
|
importScene: overlayScene
|
||||||
z: 2
|
z: 2
|
||||||
|
|
||||||
|
environment: sceneEnv
|
||||||
|
SceneEnvironment {
|
||||||
|
id: sceneEnv
|
||||||
|
antialiasingMode: SceneEnvironment.MSAA
|
||||||
|
antialiasingQuality: SceneEnvironment.High
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Overlay2D {
|
Overlay2D {
|
||||||
|
@@ -50,6 +50,13 @@ View3D {
|
|||||||
thresPerc = (grid_thresholds[thresIdx] - cameraZoomFactor) / (grid_thresholds[thresIdx] - grid_thresholds[thresIdx - 1]);
|
thresPerc = (grid_thresholds[thresIdx] - cameraZoomFactor) / (grid_thresholds[thresIdx] - grid_thresholds[thresIdx - 1]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
environment: sceneEnv
|
||||||
|
SceneEnvironment {
|
||||||
|
id: sceneEnv
|
||||||
|
antialiasingMode: SceneEnvironment.MSAA
|
||||||
|
antialiasingQuality: SceneEnvironment.High
|
||||||
|
}
|
||||||
|
|
||||||
Node {
|
Node {
|
||||||
id: sceneHelpers
|
id: sceneHelpers
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user