[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-cvs: CVS update: m_basic.c



  User: pcjc2   
  Date: 07/02/11 20:54:31

  Modified:    .        Tag: noscreen m_basic.c
  Log:
  Remove implicit grid snapping in SCREENtoWOLRD()
  
  
  
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.12.6.1  +0 -11     eda/geda/gaf/libgeda/src/m_basic.c
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: m_basic.c
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/libgeda/src/m_basic.c,v
  retrieving revision 1.12
  retrieving revision 1.12.6.1
  diff -u -b -r1.12 -r1.12.6.1
  --- m_basic.c	5 Jul 2006 03:13:38 -0000	1.12
  +++ m_basic.c	12 Feb 2007 01:54:31 -0000	1.12.6.1
  @@ -232,19 +232,8 @@
    */
   void SCREENtoWORLD(TOPLEVEL *w_current, int mx, int my, int *x, int *y)      
   {
  -  if (w_current->snap) { 
  -    *x = snap_grid(w_current, mil_x(w_current, mx));
  -    *y = snap_grid(w_current, mil_y(w_current, my));
  -  } else {
       *x = mil_x(w_current, mx);
       *y = mil_y(w_current, my);
  -  }
  -
  -#if 0
  -  *x = mil_x(w_current, mx);
  -  *y = mil_y(w_current, my);
  -#endif
  -
   }
   
   /*! \brief Find the closest grid coordinate.
  
  
  


_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs