mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
0022316: Mistakes in TestTopOpeDraw_OtherCommands.cxx
This commit is contained in:
parent
1332f04790
commit
0d532383f0
@ -98,21 +98,21 @@ Standard_EXPORT void OthersCommands_flags(Standard_Integer& na,const char** a,Te
|
||||
}
|
||||
else if(a[iloc][j] == 'c') {
|
||||
col=Standard_True;
|
||||
if(a[iloc+1] == "blanc") Color = Draw_blanc;
|
||||
else if (a[iloc+1] == "rouge") Color = Draw_rouge;
|
||||
else if (a[iloc+1] == "vert") Color = Draw_vert;
|
||||
else if (a[iloc+1] == "bleu") Color = Draw_bleu;
|
||||
else if (a[iloc+1] == "cyan") Color = Draw_cyan;
|
||||
else if (a[iloc+1] == "or") Color = Draw_or;
|
||||
else if (a[iloc+1] == "magenta") Color = Draw_magenta;
|
||||
else if (a[iloc+1] == "marron") Color = Draw_marron;
|
||||
else if (a[iloc+1] == "orange") Color = Draw_orange;
|
||||
else if (a[iloc+1] == "rose") Color = Draw_rose;
|
||||
else if (a[iloc+1] == "saumon") Color = Draw_saumon;
|
||||
else if (a[iloc+1] == "violet") Color = Draw_violet;
|
||||
else if (a[iloc+1] == "jaune") Color = Draw_jaune;
|
||||
else if (a[iloc+1] == "kaki") Color = Draw_kaki;
|
||||
else if (a[iloc+1] == "corail") Color = Draw_corail;
|
||||
if(strcmp(a[iloc+1], "blanc") == 0) Color = Draw_blanc;
|
||||
else if (strcmp(a[iloc+1], "rouge") == 0) Color = Draw_rouge;
|
||||
else if (strcmp(a[iloc+1], "vert") == 0) Color = Draw_vert;
|
||||
else if (strcmp(a[iloc+1], "bleu") == 0) Color = Draw_bleu;
|
||||
else if (strcmp(a[iloc+1], "cyan") == 0) Color = Draw_cyan;
|
||||
else if (strcmp(a[iloc+1], "or") == 0) Color = Draw_or;
|
||||
else if (strcmp(a[iloc+1], "magenta") == 0) Color = Draw_magenta;
|
||||
else if (strcmp(a[iloc+1], "marron") == 0) Color = Draw_marron;
|
||||
else if (strcmp(a[iloc+1], "orange") == 0) Color = Draw_orange;
|
||||
else if (strcmp(a[iloc+1], "rose") == 0) Color = Draw_rose;
|
||||
else if (strcmp(a[iloc+1], "saumon") == 0) Color = Draw_saumon;
|
||||
else if (strcmp(a[iloc+1], "violet") == 0) Color = Draw_violet;
|
||||
else if (strcmp(a[iloc+1], "jaune") == 0) Color = Draw_jaune;
|
||||
else if (strcmp(a[iloc+1], "kaki") == 0) Color = Draw_kaki;
|
||||
else if (strcmp(a[iloc+1], "corail") == 0) Color = Draw_corail;
|
||||
decal++;dloc++;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user