Skip to content

Commit 6782deb

Browse files
committed
🚧 Remove wireframe debug effect
1 parent 5bb2d52 commit 6782deb

File tree

3 files changed

+3
-21
lines changed

3 files changed

+3
-21
lines changed

src/outliner/vanillaBlockDisplay.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,8 +231,8 @@ export const PREVIEW_CONTROLLER = new NodePreviewController(VanillaBlockDisplay,
231231

232232
const mesh = el.mesh as THREE.Mesh
233233
mesh.name = el.uuid
234-
mesh.material = Canvas.wireframeMaterial
235234
mesh.geometry = result.boundingBox
235+
mesh.material = Canvas.transparentMaterial
236236

237237
mesh.clear()
238238
result.outline.name = el.uuid + '_outline'

src/outliner/vanillaItemDisplay.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ export const PREVIEW_CONTROLLER = new NodePreviewController(VanillaItemDisplay,
230230
const mesh = el.mesh as THREE.Mesh
231231
mesh.name = el.uuid
232232
mesh.geometry = result.boundingBox
233-
mesh.material = Canvas.wireframeMaterial
233+
mesh.material = Canvas.transparentMaterial
234234
mesh.clear()
235235
mesh.add(result.mesh)
236236
mesh.add(result.outline)

test_blueprints/blockstates.ajblueprint

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -340,23 +340,6 @@
340340
"align": "center",
341341
"uuid": "3988627b-b0c6-8a09-9d3f-230adeb648f8",
342342
"type": "animated_java:text_display"
343-
},
344-
{
345-
"name": "vanilla_item_display1",
346-
"position": [0, 25, 0],
347-
"rotation": [90, 0, 0],
348-
"scale": [1, 1, 1],
349-
"visibility": true,
350-
"item": "minecraft:diamond",
351-
"config": {},
352-
"block": "minecraft:stone",
353-
"text": "\"Hello World!\"",
354-
"lineWidth": 200,
355-
"backgroundColor": "#000000",
356-
"backgroundAlpha": 0.25,
357-
"align": "center",
358-
"uuid": "c6e25715-1cda-c39f-9693-be44241e1d48",
359-
"type": "animated_java:vanilla_item_display"
360343
}
361344
],
362345
"outliner": [
@@ -377,8 +360,7 @@
377360
"42bafea5-d05a-8106-0db4-0d1b0067a68e",
378361
"e1a16324-658b-a9af-1095-ca2a83c80595",
379362
"215cf9b7-1949-5e9b-b7b1-a35f59e58b2d",
380-
"3988627b-b0c6-8a09-9d3f-230adeb648f8",
381-
"c6e25715-1cda-c39f-9693-be44241e1d48"
363+
"3988627b-b0c6-8a09-9d3f-230adeb648f8"
382364
],
383365
"textures": [],
384366
"variants": {

0 commit comments

Comments
 (0)