From 82b607d738510383b03ec7c8314623570746c359 Mon Sep 17 00:00:00 2001
From: Mario Zechner
Date: Fri, 25 Mar 2022 14:03:20 +0100
Subject: [PATCH] [ts] Remove player editor, fix embedding examples, clean-up
threejs example.
---
CHANGELOG.md | 1 +
spine-ts/index.html | 3 +-
spine-ts/spine-player/example/editor.html | 28 -
.../example/embedding-binary-example.html | 14 +-
.../example/embedding-json-example.html | 14 +-
.../example/external/codemirror.css | 395 -
.../example/external/codemirror.js | 12015 ----------------
spine-ts/spine-player/src/PlayerEditor.ts | 115 -
spine-ts/spine-player/src/index.ts | 1 -
.../spine-threejs/example/OrbitalControls.js | 1248 ++
spine-ts/spine-threejs/example/index.html | 2 +-
11 files changed, 1265 insertions(+), 12571 deletions(-)
delete mode 100644 spine-ts/spine-player/example/editor.html
delete mode 100644 spine-ts/spine-player/example/external/codemirror.css
delete mode 100644 spine-ts/spine-player/example/external/codemirror.js
delete mode 100644 spine-ts/spine-player/src/PlayerEditor.ts
create mode 100644 spine-ts/spine-threejs/example/OrbitalControls.js
diff --git a/CHANGELOG.md b/CHANGELOG.md
index d072cfe6d..0c3a6ef55 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -120,6 +120,7 @@
* `VertexAttachment#deformAttachment` has been replaced with `VertexAttachment#timelineAttachment`.
* `RegionAttachment#updateOffset()` has been renamed to `RegionAttachment#updateRegion()`. The caller must ensure that the attachment's region is not `null`.
* `RegionAttachment#computeWorldVertices()` takes a `Slot` instead of a `Bone` as the first argument.
+ * Removed `PlayerEditor`.
### WebGL backend
* `PolygonBatcher.start()` now disables culling and restores the previous state on `PolygonBatcher.end()`.
diff --git a/spine-ts/index.html b/spine-ts/index.html
index 205e9416e..5cc8384ef 100644
--- a/spine-ts/index.html
+++ b/spine-ts/index.html
@@ -21,7 +21,6 @@
Example
Embedding binary
Embedding JSON
- Editor
Disposing a player
WebGL
@@ -46,7 +45,7 @@
THREE.JS
-
-
diff --git a/spine-ts/spine-player/example/editor.html b/spine-ts/spine-player/example/editor.html
deleted file mode 100644
index 8e2eb2833..000000000
--- a/spine-ts/spine-player/example/editor.html
+++ /dev/null
@@ -1,28 +0,0 @@
-
-
-
-