Commit 8f9682f4 authored by Jan Möbius's avatar Jan Möbius

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
parent ec108e81
......@@ -117,7 +117,7 @@ private:
}
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_Ka(void) { return Ka_is_set_; }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment