Esempio n. 1
0
	def run_app(self):
		"""
		Callback from when the menu is clicked.
		"""		
		print "Reloading Tools Shotgun...."
		restart()
		print "Reload done!"
Esempio n. 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)
Esempio n. 3
0
 def reload(self):
     """
     Reload templates and restart engine.
     """
     restart()
Esempio n. 4
0
 def reload(self):
     """
     Reload templates and restart engine.
     """
     restart()
Esempio n. 5
0
 def _reload_sg(self):
     """
     Reload Shotgun scripts
     """        
     restart()
Esempio n. 6
0
 def _reload_sg(self):
     """
     Reload Shotgun scripts
     """
     restart()