Example #1
0
	def run_app(self):
		"""
		Callback from when the menu is clicked.
		"""		
		print "Reloading Tools Shotgun...."
		restart()
		print "Reload done!"
Example #2
0
    def reload_command(self, *args, **kwargs):
        """
        We inform the Harmony engine that we are about to restart the engine,
        so it can act accordingly.
        """
        if self._dcc_app:
            self._dcc_app.broadcast_event("ENGINE_RESTART")

        from tank.platform import restart

        restart(*args, **kwargs)
Example #3
0
 def reload(self):
     """
     Reload templates and restart engine.
     """
     restart()
Example #4
0
 def reload(self):
     """
     Reload templates and restart engine.
     """
     restart()
Example #5
0
 def _reload_sg(self):
     """
     Reload Shotgun scripts
     """        
     restart()
Example #6
0
 def _reload_sg(self):
     """
     Reload Shotgun scripts
     """
     restart()