-- Turns out calling setPen and setBrush is slow. This fixes part of the problem by checking whether self.ghosted changes before setting pens and brushes on pipeline graphic items. --
--
Turns out calling setPen and setBrush is slow. This fixes
part of the problem by checking whether self.ghosted changes
before setting pens and brushes on pipeline graphic items.
--

gui/pipeline_view.py:

	QGraphicsPortItem.setGhosted: checks if attribute changed
	before calling setPen and setBrush

	QGraphicsConfigureItem.setGhosted: checks if attribute changed
	before calling setPen and setBrush

	QGraphicsModuleItem.setGhosted: checks if attribute changed
	before calling setGhosted on ports

celiafish/VisTrails,Nikea/VisTrails,VisTrails/VisTrails,hjanime/VisTrails,VisTrails/VisTrails,minesense/VisTrails,Nikea/VisTrails,hjanime/VisTrails,minesense/VisTrails,hjanime/VisTrails,VisTrails/VisTrails,Nikea/VisTrails,Nikea/VisTrails,minesense/VisTrails,hjanime/VisTrails,celiafish/VisTrails,VisTrails/VisTrails,minesense/VisTrails,celiafish/VisTrails,VisTrails/VisTrails,hjanime/VisTrails,minesense/VisTrails,celiafish/VisTrails