Closed GoogleCodeExporter closed 9 years ago
There are two different problems here:
1. openWiki('WikiPage') returns a function (closure) so that you can use it to assign an action for the GUI. So in order to actually perform the action you have to call it, e.g. openWiki('WikiPage')(). Note that for some reason python2.6 on CS hosts does not have a working webbrowser.open configured - while it is possible to configure it, this is clearly not our fault and most python setups will have it working by default with the default browser on the user's platform.
2. switchMod() only makes a request to switch the mod - the mod is actually switched on the next frame. I changed the source of Kernel.cpp so that if the request is made during the switch from another mod, it doesn't get ignored (the request flag was getting reset after the python code for the new mod was executed).
Original comment by ikarpov
on 20 Sep 2010 at 4:03
Revision #527 should address both issues.
Original comment by ikarpov
on 20 Sep 2010 at 4:06
Original issue reported on code.google.com by
AdamDz...@gmail.com
on 20 Sep 2010 at 3:54