Rename GeomPackPreviewMesh -> GeomPackPreviewMeshThree

The three.js preview's generic name made it unclear next to the VTK/Dual/
Multi/Batch previews. Renamed the node id (schema + both mappings), the
widget file (mesh_preview.js -> mesh_preview_three.js, extension name
geometrypack.meshpreview -> geometrypack.meshpreview.three), and the four
test workflows that reference the node type.

Breaking for external saved workflows that used GeomPackPreviewMesh (node
type no longer exists) -- accepted; the pack's own workflows are updated.
This commit is contained in:
PozzettiAndrea
2026-08-14 16:49:59 +02:00
parent 15e6ffa02a
commit 1721e2bf4e
6 changed files with 10 additions and 10 deletions
@@ -15,10 +15,10 @@ const EXTENSION_FOLDER = (() => {
console.log("[GeomPack] Loading mesh preview extension...");
app.registerExtension({
name: "geometrypack.meshpreview",
name: "geometrypack.meshpreview.three",
async beforeRegisterNodeDef(nodeType, nodeData, app) {
if (nodeData.name === "GeomPackPreviewMesh") {
if (nodeData.name === "GeomPackPreviewMeshThree") {
console.log("[GeomPack] Registering Preview Mesh node");
const onNodeCreated = nodeType.prototype.onNodeCreated;