diff --git a/examples/files.json b/examples/files.json index 1543bd534f89dc..239fa9942d4dfb 100644 --- a/examples/files.json +++ b/examples/files.json @@ -480,7 +480,7 @@ "physics_ammo_volume", "physics_jolt_instancing", "physics_rapier_instancing", - "physics_rapier_instanced_bodies" + "ld2studio_rapier_instanced_bodies" ], "misc": [ "misc_animation_groups", diff --git a/examples/index.html b/examples/index.html index 1eebae8b5e5a90..7044c694e3150d 100644 --- a/examples/index.html +++ b/examples/index.html @@ -246,7 +246,12 @@

three.js

// Reveal "View source" button and set attributes to this example viewSrcButton.style.display = ''; - viewSrcButton.href = 'https://github.com/mrdoob/three.js/blob/master/examples/' + selected + '.html'; + if ( selected.includes("ld2studio") ) { + viewSrcButton.href = 'https://github.com/LD2Studio/LD2Studio-Editor/blob/three-editor/examples/' + selected + '.html'; + } + else { + viewSrcButton.href = 'https://github.com/mrdoob/three.js/blob/master/examples/' + selected + '.html'; + } viewSrcButton.title = 'View source code for ' + getName( selected ) + ' on GitHub'; } diff --git a/examples/physics_rapier_instanced_bodies.html b/examples/ld2studio_rapier_instanced_bodies.html similarity index 100% rename from examples/physics_rapier_instanced_bodies.html rename to examples/ld2studio_rapier_instanced_bodies.html diff --git a/examples/screenshots/physics_rapier_instanced_bodies.jpg b/examples/screenshots/ld2studio_rapier_instanced_bodies.jpg similarity index 100% rename from examples/screenshots/physics_rapier_instanced_bodies.jpg rename to examples/screenshots/ld2studio_rapier_instanced_bodies.jpg diff --git a/index.html b/index.html index 05a736c0ddd162..a7ea58cc6d60e1 100644 --- a/index.html +++ b/index.html @@ -14,6 +14,8 @@
@@ -57,6 +59,27 @@

Merch

+ +