Fix warnings
This commit is contained in:
@@ -369,7 +369,7 @@ bool MeshInput::LoadSTL (std::istream &rstrIn)
|
||||
if (ulCt > 1)
|
||||
ulBytes = 100;
|
||||
// Either it's really an invalid STL file or it's just empty. In this case the number of facets must be 0.
|
||||
if (rstrIn.read(szBuf, ulBytes) == false)
|
||||
if (!rstrIn.read(szBuf, ulBytes))
|
||||
return (ulCt==0);
|
||||
szBuf[ulBytes] = 0;
|
||||
upper(szBuf);
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
<property name="title">
|
||||
<string>Export</string>
|
||||
</property>
|
||||
<layout class="QGridLayout">
|
||||
<layout class="QGridLayout" name="gridLayout_1">
|
||||
<property name="margin">
|
||||
<number>9</number>
|
||||
</property>
|
||||
|
||||
Reference in New Issue
Block a user