Changeset 3284
- Timestamp:
- 08/16/04 16:03:17 (9 years ago)
- Files:
-
- 1 modified
-
OpenSceneGraph/trunk/src/osgPlugins/obj/glm.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgPlugins/obj/glm.cpp
r3282 r3284 839 839 sscanf(buf, "%s %s", buf, buf); 840 840 841 /*group->material =*/ material = _glmFindMaterial(model, buf); 842 843 // a hack by Robert Osfield to account for usemtl being infront 844 // or the group, or after - but only one line after. 845 // original code always assigned material to current group. 846 if (previousLineWas_g || firstGroup) group->material = material; 841 material = _glmFindMaterial(model, buf); 842 843 group->material = material; 847 844 848 845 break;
