Parent Directory | Revision Log | Patch
revision 1.34 by jvk, Mon Oct 7 14:22:25 2002 UTC | revision 1.35 by jvk, Mon Oct 7 16:29:29 2002 UTC | |
---|---|---|
# | Line 227 currentScene = None | Line 227 currentScene = None |
227 | def loadScenes(): | def loadScenes(): |
228 | print "RELOAD" | print "RELOAD" |
229 | ||
230 | if 0: | if 1: |
231 | # Reload gfx.* modules | # Reload gfx.* modules |
232 | mods = sys.modules.keys() | mods = sys.modules.keys() |
233 | mods.sort() | mods.sort() |
234 | for mod in mods: | for mod in mods: |
235 | if mod[:4] == "gfx.": | if mod[:4] == "gfx." and hasattr(sys.modules[mod], "__file__"): |
236 | print "Reloading", mod | print "Reloading", mod |
237 | reload(sys.modules[mod]) | reload(sys.modules[mod]) |
238 |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |