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

Method copyPath

index.js:470–481  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

468 }
469
470 copyPath(){
471 const name = this.store.copy();
472 this.loadPath( name );
473 const names = this.store.getPathNames();
474 //names.push( name );
475 this.nameCtrl = this.nameCtrl.options( names );
476 this.nameCtrl.onChange( ( value ) => {
477 this.loadPath( value );
478 });
479 this.nameCtrl.updateDisplay();
480 this.updatePathNamesGUI();
481 }
482
483 savePath(){
484 const data = {

Callers 1

constructorMethod · 0.95

Calls 4

loadPathMethod · 0.95
updatePathNamesGUIMethod · 0.95
copyMethod · 0.80
getPathNamesMethod · 0.80

Tested by

no test coverage detected