Skip to content

Commit 1e8be3e

Browse files
committed
Remove useless code.
1 parent 146eea9 commit 1e8be3e

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

extensions/reviewed/ParticleEmitter3D.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -381,10 +381,7 @@
381381
"",
382382
" setImage(resourceName) {",
383383
" const texture = game.getImageManager().getThreeTexture(resourceName);",
384-
" /** @type {THREE.MeshStandardMaterial} */",
385-
" const material = this.particleSystem.material;",
386384
" this.particleSystem.texture = texture;",
387-
" material.map = texture;",
388385
" }",
389386
"}",
390387
"",
@@ -7615,12 +7612,10 @@
76157612
"const object = objects[0];\r",
76167613
"/** @type {SpriteObjectDataType} */\r",
76177614
"const particleSpriteData = object._instanceContainer._objects.get(\"Particle\");\r",
7618-
"console.log(particleSpriteData);\r",
76197615
"/** @type {gdjs.SpriteAnimationData} */\r",
76207616
"const animation = particleSpriteData.animations[0];\r",
76217617
"const animationFrame = animation ? animation.directions[0].sprites[0] : null;\r",
76227618
"const resourceName = animationFrame ? animationFrame.image : '';\r",
7623-
"console.log(resourceName);\r",
76247619
"object.__particleEmitterAdapter.setImage(resourceName);"
76257620
],
76267621
"parameterObjects": "Object",

0 commit comments

Comments
 (0)