View Single Post
  #2  
Old 12-02-2008, 06:42 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Thanks for the bug report, this will be fixed in the next release. If you need the fix sooner, then modify your vizmenu.py by replacing the setVisible function of the MenuBar class with the following code:
Code:
	def setVisible(self,visible,animate=True):
		"""Make the menu hidden or visible"""
		self.__hidden = not visible
		self.__root.clearActions()
		if self.__hidden:
			if animate:
				self.__root.runAction(vizact.moveTo(self.__inactivePos,speed=HIDING_ANIMATE_SPEED,p1=-0.5,p2=0.0))
			else:
				self.__root.translate(self.__inactivePos)
			#Clear tracked item and click state
			self.__clicked = False
			self.__trackitem(None)
		else:
			if animate:
				self.__root.runAction(vizact.goto(self.__activePos,VISIBLE_ANIMATE_SPEED))
			else:
				self.__root.translate(self.__activePos)
Reply With Quote