projects
/
vrlugburz
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
updated treestore.h
[vrlugburz]
/
src
/
scenefile.c
diff --git
a/src/scenefile.c
b/src/scenefile.c
index
398ce96
..
dda0499
100644
(file)
--- a/
src/scenefile.c
+++ b/
src/scenefile.c
@@
-320,7
+320,7
@@
static int load_mtllib(struct scenefile *scn, const char *path_prefix, const cha
FILE *fp;
char buf[256], *line;
struct objmtl om;
- struct material *mtl;
+ struct material *mtl = 0;
if(path_prefix && *path_prefix) {
sprintf(buf, "%s/%s", path_prefix, mtlfname);