Skip to content

Commit 57acbce

Browse files
committed
Correcting the Groovy helper to include the CaDoodleVitamin API update
1 parent 7ccc32c commit 57acbce

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/java/com/neuronrobotics/bowlerstudio/scripting/GroovyHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ private Object inline(String code, ArrayList<Object> args, CSGDatabaseInstance d
3737
GroovyShell shell = new GroovyShell(GroovyHelper.class.getClassLoader(), binding, cc);
3838
if(!code.contains("csgdb")) {
3939
//CaDoodleVitamin.
40-
code=code.replace("CaDoodleVitamin.", "new CaDoodleVitamin(csgdb)");
40+
code=code.replace("CaDoodleVitamin.", "new CaDoodleVitamin(csgdb).");
4141
code=code.replace("StringParameter(", "StringParameter(csgdb,");
4242
code=code.replace("LengthParameter(", "LengthParameter(csgdb,");
4343
code=code.replace("setParameter(", "setParameter(csgdb,");

src/main/java/com/neuronrobotics/bowlerstudio/scripting/cadoodle/CaDoodleVitamin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ public CSG regenerate(CSG previous) {
120120
}
121121
});
122122
//back.getStorage().set("PreviousName", name);
123-
back.setIsAlwaysShow(true);
123+
//back.setIsAlwaysShow(true);
124124
return back;
125125
} catch (Exception e) {
126126
// Auto-generated catch block

0 commit comments

Comments
 (0)