alice-teacher Alice 3.0 - getJoint Function
Don Slater
dslater at andrew.cmu.edu
Wed Oct 15 10:47:11 EDT 2014
You have certainly identified some issues (I can count at least three) we need to look at.
But to solve your problem, try this:
1) Save the world with the broken dragon (just in case)…
2) Delete all the dragons from the world, and save it again, under a different name…
3) Reopen the world that does not have the dragons in it, and you should now be able to add a good dragon from the gallery.
Let me know if this does not work…
All the best,
Don Slater
On Oct 15, 2014, at 10:00 AM, Frank Hulsman <frankhulsman at yahoo.com> wrote:
> In Alice 3.0, I have a student who inadvertently changed one of the functions of a quadreped and now we cannot figure out how to get it back to the original code.
>
> Details:
> 1. He added a dragon to his scene.
> 2. In the function getLeftWingBase, it had a return statement of return this.getJoint(LEFT_WING_BASE)
> 3. He changed it to return this.getLeftWingBase
>
> Question: How can we restore this function to its original code?
>
> Affect: Every dragon we add, even new ones, has the revised, incorrect code.
> If we export a dragon from another computer, and import the class, the incorrect function is not repaired.
> If we export the modified dragon, to another computer, the imported dragon has the incorrect code.
>
> Frank Hulsman
> St. Xavier High School
> Louisville, Ky 40217
> frankhulsman at yahoo.com
> _______________________________________________
> alice-teachers mailing list
> alice-teachers at lists.andrew.cmu.edu
> https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.andrew.cmu.edu/pipermail/alice-teachers/attachments/20141015/819626f7/attachment.html
More information about the alice-teachers
mailing list