fix reading mtl files with texture only for obj files
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1222 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
@@ -117,7 +117,7 @@ private:
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool is_valid(void) const
|
bool is_valid(void) const
|
||||||
{ return Kd_is_set_ || Ka_is_set_ || Ks_is_set_ || Tr_is_set_; }
|
{ return Kd_is_set_ || Ka_is_set_ || Ks_is_set_ || Tr_is_set_ || map_Kd_is_set_; }
|
||||||
|
|
||||||
bool has_Kd(void) { return Kd_is_set_; }
|
bool has_Kd(void) { return Kd_is_set_; }
|
||||||
bool has_Ka(void) { return Ka_is_set_; }
|
bool has_Ka(void) { return Ka_is_set_; }
|
||||||
|
|||||||
Reference in New Issue
Block a user