未验证 提交 97557b6a 编写于 作者: S Shai Daniel Ghelberg 提交者: GitHub

Fix enum in the switch case (#23540)

上级 5d351cec
......@@ -230,14 +230,14 @@
switch ( val ) {
case '0':
case 0:
line.visible = true;
line1.visible = false;
break;
case '1':
case 1:
line.visible = false;
line1.visible = true;
......@@ -285,7 +285,7 @@
switch ( val ) {
case '0':
case 0:
matLine.dashSize = 2;
matLine.gapSize = 1;
......@@ -294,7 +294,7 @@
break;
case '1':
case 1:
matLine.dashSize = 1;
matLine.gapSize = 1;
......@@ -303,7 +303,7 @@
break;
case '2':
case 2:
matLine.dashSize = 1;
matLine.gapSize = 2;
......
......@@ -191,14 +191,14 @@
switch ( val ) {
case '0':
case 0:
wireframe.visible = true;
wireframe1.visible = false;
break;
case '1':
case 1:
wireframe.visible = false;
wireframe1.visible = true;
......@@ -240,7 +240,7 @@
switch ( val ) {
case '0':
case 0:
matLine.dashSize = 2;
matLine.gapSize = 1;
......@@ -249,7 +249,7 @@
break;
case '1':
case 1:
matLine.dashSize = 1;
matLine.gapSize = 1;
......@@ -258,7 +258,7 @@
break;
case '2':
case 2:
matLine.dashSize = 1;
matLine.gapSize = 2;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册