squishjs 1.0.4 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/Squisher.js +0 -15
package/package.json
CHANGED
package/src/Squisher.js
CHANGED
|
@@ -147,21 +147,6 @@ class Squisher {
|
|
|
147
147
|
this.squishHelper(node.node.children[i], squishedNodes, scale, playerMap, pathFilter);
|
|
148
148
|
}
|
|
149
149
|
|
|
150
|
-
// debug
|
|
151
|
-
for (let k in playerMap) {
|
|
152
|
-
for (let squished in playerMap[k]) {
|
|
153
|
-
const unsquished = unsquish(playerMap[k][squished]);
|
|
154
|
-
if (unsquished.node.playerIds.length > 0 && unsquished.node.playerIds.findIndex(i => Number(i) === Number(k)) < 0) {
|
|
155
|
-
console.log(unsquished.node.playerIds);
|
|
156
|
-
console.log(k);
|
|
157
|
-
console.log(unsquished.node.playerIds.indexOf(k));
|
|
158
|
-
if (k != 254) {
|
|
159
|
-
throw new Error('fuk');
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
|
|
165
150
|
}
|
|
166
151
|
|
|
167
152
|
getJson() {
|