MCPcopy Create free account
hub / github.com/NikLever/ThreeJS-PathEditor / deleteNode

Method deleteNode

index.js:363–373  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

361 }
362
363 deleteNode(){
364 //Called by context menu
365 if (this.activeNode){
366 const index = this.nodes.indexOf( this.activeNode );
367 if (index!=-1){
368 this.nodes.splice( index, 1 );
369 this.activeNode = null;
370 }
371 this.render(true);
372 }
373 }
374
375 insertNode( ){
376 //Called by context menu

Callers

nothing calls this directly

Calls 1

renderMethod · 0.95

Tested by

no test coverage detected