!2560 修复:线框颜色配置切换账号时没有更新

pull/2565/MERGE
黄诗津 8 months ago committed by ChenX
parent e9c22631e7
commit 6f69bda20e

@ -150,6 +150,10 @@ export class UserConfigStore extends Singleton
ColorMaterial.PrintLineMatrial.linewidth = userConfig.lineWidth;
ColorMaterial.GetPrintConceptualMaterial().polygonOffsetUnits = userConfig.lineWidth;
//更新线框颜色
ColorMaterial.UpdateConceptualEdgeMaterial();
ColorMaterial.UpdatePhysical2EdgeMaterial();
if (userConfig.checkSealing)
userConfig.RenderType = RenderType.Edge;

Loading…
Cancel
Save