Author: paperwing
Date: 2012-03-21 16:01:52 -0700 (Wed, 21 Mar 2012)
New Revision: 28610

Modified:
   
csplugins/trunk/toronto/yuedong/paperwing-impl/src/main/java/org/cytoscape/paperwing/internal/picking/DefaultShapePickingProcessor.java
Log:
Selection buffer size is now proportional to the number of edges and nodes; 
user should now be able to drag-select the entire network

Modified: 
csplugins/trunk/toronto/yuedong/paperwing-impl/src/main/java/org/cytoscape/paperwing/internal/picking/DefaultShapePickingProcessor.java
===================================================================
--- 
csplugins/trunk/toronto/yuedong/paperwing-impl/src/main/java/org/cytoscape/paperwing/internal/picking/DefaultShapePickingProcessor.java
     2012-03-21 22:52:00 UTC (rev 28609)
+++ 
csplugins/trunk/toronto/yuedong/paperwing-impl/src/main/java/org/cytoscape/paperwing/internal/picking/DefaultShapePickingProcessor.java
     2012-03-21 23:01:52 UTC (rev 28610)
@@ -97,7 +97,7 @@
                int bufferSize = 1024;
 
                if (selectAll) {
-                       bufferSize = 8128;
+                       bufferSize = Math.max(4096, 
graphicsData.getNetworkView().getAllViews().size() * 64);
                }
 
                GL2 gl = graphicsData.getGlContext();

-- 
You received this message because you are subscribed to the Google Groups 
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/cytoscape-cvs?hl=en.

Reply via email to