We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aaab419 commit a618f9cCopy full SHA for a618f9c
index.js
@@ -21,6 +21,7 @@ let check = true;
21
let test;
22
test = !check;
23
let firstClick = true;
24
+let codeChange = false;
25
26
function sceneBuild() { //function called when "Animate" is pressed
27
if(firstClick == true){
@@ -65,6 +66,13 @@ function callSynth() {//function called when "get code" is pressed
65
66
script.text = temp;
67
script.setAttribute("id", "synth_script");
68
document.body.appendChild(script);
69
+ if(renderer != null && firstClick == false){
70
+ renderer.clear();
71
+ console.log("thsithsi");
72
+ codeChange = true;
73
+ }
74
+
75
76
77
});
78
})
0 commit comments