99 |
|
else if (load & IO_SCENE && nf == 0) |
100 |
|
skiptree(); |
101 |
|
|
102 |
< |
if (load & IO_SCENE) /* get the scene */ |
102 |
> |
if (load & IO_SCENE) { /* get the scene */ |
103 |
|
if (nf == 0) { |
104 |
|
/* load binary scene data */ |
105 |
|
readscene(infp, objsize); |
112 |
|
if (dosets(nonsurfinset)) |
113 |
|
octerror(USER, "modifier in tree; octree stale?"); |
114 |
|
} |
115 |
+ |
} |
116 |
|
/* close the input */ |
117 |
|
if (infn[0] == '!') |
118 |
|
pclose(infp); |
201 |
|
default: |
202 |
|
octerror(USER, "damaged octree"); |
203 |
|
} |
204 |
< |
return NULL; /* pro forma return */ |
204 |
> |
return EMPTY; /* pro forma return */ |
205 |
|
} |
206 |
|
|
207 |
|
|