nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gamnit: collect errors when loading models and its textures
[nit.git]
/
lib
/
gamnit
/
depth
/
depth_core.nit
diff --git
a/lib/gamnit/depth/depth_core.nit
b/lib/gamnit/depth/depth_core.nit
index
db13d81
..
890395a
100644
(file)
--- a/
lib/gamnit/depth/depth_core.nit
+++ b/
lib/gamnit/depth/depth_core.nit
@@
-105,6
+105,9
@@
abstract class Model
# Load this model in memory
fun load do end
+ # Errors raised at loading
+ var errors = new Array[Error]
+
# All `LeafModel` composing this model
#
# Usually, there is one `LeafModel` per material.