mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-08-29 04:49:31 +00:00
fix color invalid bug.
This commit is contained in:
@@ -3055,7 +3055,7 @@ void SSWCP_MachineOption_Instance::sw_GetFileFilamentMapping()
|
|||||||
|
|
||||||
long long res = 0;
|
long long res = 0;
|
||||||
if ((oriclr.size() != 7 && oriclr.size() != 9) || oriclr[0] != '#') {
|
if ((oriclr.size() != 7 && oriclr.size() != 9) || oriclr[0] != '#') {
|
||||||
return -1;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
auto colorSize = oriclr.size();//7 or 9
|
auto colorSize = oriclr.size();//7 or 9
|
||||||
|
|||||||
Reference in New Issue
Block a user