|
@@ -190,8 +190,9 @@ export class PluginContext {
|
|
|
|
|
|
const antialias = !(this.config.get(PluginConfig.General.DisableAntialiasing) ?? false);
|
|
|
const pixelScale = this.config.get(PluginConfig.General.PixelScale) || 1;
|
|
|
+ const pickScale = this.config.get(PluginConfig.General.PickScale) || 0.25;
|
|
|
const enableWboit = this.config.get(PluginConfig.General.EnableWboit) || false;
|
|
|
- (this.canvas3d as Canvas3D) = Canvas3D.fromCanvas(canvas, {}, { antialias, pixelScale, enableWboit });
|
|
|
+ (this.canvas3d as Canvas3D) = Canvas3D.fromCanvas(canvas, {}, { antialias, pixelScale, enableWboit, pickScale });
|
|
|
this.canvas3dInit.next(true);
|
|
|
let props = this.spec.components?.viewport?.canvas3d;
|
|
|
|