Parent Directory | Revision Log | Patch
revision 1.33 by jvk, Mon Oct 7 10:15:09 2002 UTC | revision 1.34 by jvk, Mon Oct 7 14:22:25 2002 UTC | |
---|---|---|
# | Line 226 currentScene = None | Line 226 currentScene = None |
226 | ||
227 | def loadScenes(): | def loadScenes(): |
228 | print "RELOAD" | print "RELOAD" |
229 | ||
230 | if 0: | |
231 | # Reload gfx.* modules | |
232 | mods = sys.modules.keys() | |
233 | mods.sort() | |
234 | for mod in mods: | |
235 | if mod[:4] == "gfx.": | |
236 | print "Reloading", mod | |
237 | reload(sys.modules[mod]) | |
238 | ||
239 | try: | try: |
240 | exec open(scenefile) in globals(), globals() | exec open(scenefile) in globals(), globals() |
241 | except: | except: |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |