nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gamnit: don't load the same .mat material more than once
[nit.git]
/
lib
/
gamnit
/
model_parsers
/
obj.nit
diff --git
a/lib/gamnit/model_parsers/obj.nit
b/lib/gamnit/model_parsers/obj.nit
index
abd573d
..
e9f8499
100644
(file)
--- a/
lib/gamnit/model_parsers/obj.nit
+++ b/
lib/gamnit/model_parsers/obj.nit
@@
-155,7
+155,7
@@
class ObjDef
# Faces
var faces = new Array[ObjFace]
- # Referenced material libraries
+ # Relative paths to referenced material libraries
fun material_libs: Set[String] do
var libs = new Set[String]
for face in faces do