parameters: (self, arg)
docstring: :param arg:
  		:return:
function: def onRenderLayerSelected(self, arg):
  		"""
  
  		:param arg:
  		:return:
  		"""
  		self.layer = arg
  		if self.layer == 'masterLayer':
  			arg = 'defaultRenderLayer'
  		#print '* onRenderLayerSelected %s' % self.layer
  		cmds.evalDeferred(
  			'import maya.OpenMaya; maya.cmds.editRenderLayerGlobals(currentRenderLayer = "%s")' % arg,
  			lowestPriority=True
  		)
function_tokens: def onRenderLayerSelected ( self , arg ) : self . layer = arg if self . layer == 'masterLayer' : arg = 'defaultRenderLayer' #print '* onRenderLayerSelected %s' % self.layer cmds . evalDeferred ( 'import maya.OpenMaya; maya.cmds.editRenderLayerGlobals(currentRenderLayer = "%s")' % arg , lowestPriority = True )