Commit e9b0029
committed
gltfpack: Only enable sparse mode for non-empty indices
Point clouds use empty indices, so indices.size() would be less
than the vertex count. The actual code that would execute then is a no-op,
as it would leave sparse empty, but if the mechanism of enabling sparse
mode changes in the future this may regress, so add a condition to be
explicit.1 parent 4415305 commit e9b0029
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
219 | | - | |
| 219 | + | |
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
| |||
0 commit comments