|
@@ -933,6 +933,7 @@ class Map(object):
|
|
|
|
|
|
@return name of file with rendered image or None
|
|
|
"""
|
|
|
+ wx.BeginBusyCursor()
|
|
|
# use external gisrc if defined
|
|
|
gisrc_orig = os.getenv("GISRC")
|
|
|
if self.gisrc:
|
|
@@ -987,6 +988,7 @@ class Map(object):
|
|
|
|
|
|
if ret != 0:
|
|
|
print >> sys.stderr, _("ERROR: Rendering failed. Details: %s") % msg
|
|
|
+ wx.EndBusyCursor()
|
|
|
return None
|
|
|
|
|
|
Debug.msg (3, "Map.Render() force=%s file=%s" % (force, self.mapfile))
|
|
@@ -1001,6 +1003,7 @@ class Map(object):
|
|
|
if self.gisrc:
|
|
|
os.environ["GISRC"] = gisrc_orig
|
|
|
|
|
|
+ wx.EndBusyCursor()
|
|
|
if not maps:
|
|
|
return None
|
|
|
|