|
@@ -378,11 +378,10 @@ void ObjFileMtlImporter::getTexture() {
|
|
* Because aiMaterial supports clamp option, so we also want to return it
|
|
* Because aiMaterial supports clamp option, so we also want to return it
|
|
* /////////////////////////////////////////////////////////////////////////////
|
|
* /////////////////////////////////////////////////////////////////////////////
|
|
*/
|
|
*/
|
|
-void ObjFileMtlImporter::getTextureOption(bool &clamp, int &clampIndex, aiString *&out)
|
|
|
|
-{
|
|
|
|
|
|
+void ObjFileMtlImporter::getTextureOption(bool &clamp, int &clampIndex, aiString *&out) {
|
|
m_DataIt = getNextToken<DataArrayIt>(m_DataIt, m_DataItEnd);
|
|
m_DataIt = getNextToken<DataArrayIt>(m_DataIt, m_DataItEnd);
|
|
|
|
|
|
- //If there is any more texture option
|
|
|
|
|
|
+ // If there is any more texture option
|
|
while (!isEndOfBuffer(m_DataIt, m_DataItEnd) && *m_DataIt == '-')
|
|
while (!isEndOfBuffer(m_DataIt, m_DataItEnd) && *m_DataIt == '-')
|
|
{
|
|
{
|
|
const char *pPtr( &(*m_DataIt) );
|
|
const char *pPtr( &(*m_DataIt) );
|