Revision: 56533
http://sourceforge.net/p/brlcad/code/56533
Author: brlcad
Date: 2013-08-04 21:09:17 +0000 (Sun, 04 Aug 2013)
Log Message:
-----------
bye bye dead code
Modified Paths:
--------------
brlcad/trunk/src/mged/dm-generic.c
Modified: brlcad/trunk/src/mged/dm-generic.c
===================================================================
--- brlcad/trunk/src/mged/dm-generic.c 2013-08-04 20:54:57 UTC (rev 56532)
+++ brlcad/trunk/src/mged/dm-generic.c 2013-08-04 21:09:17 UTC (rev 56533)
@@ -194,40 +194,12 @@
rect_view2image();
rb_set_dirty_flag();
} else if (mged_variables->mv_mouse_behavior == 's' && !stolen) {
-#if 0
- if (grid_state->gr_snap) {
- snap_to_grid(&fx, &fy);
- x = fx * GED_MAX;
- y = fy * GED_MAX;
- }
-#endif
bu_vls_printf(&vls, "mouse_solid_edit_select %d %d", x, y);
} else if (mged_variables->mv_mouse_behavior == 'm' && !stolen) {
-#if 0
- if (grid_state->gr_snap) {
- snap_to_grid(&fx, &fy);
- x = fx * GED_MAX;
- y = fy * GED_MAX;
- }
-#endif
bu_vls_printf(&vls, "mouse_matrix_edit_select %d %d", x, y);
} else if (mged_variables->mv_mouse_behavior == 'c' && !stolen) {
-#if 0
- if (grid_state->gr_snap) {
- snap_to_grid(&fx, &fy);
- x = fx * GED_MAX;
- y = fy * GED_MAX;
- }
-#endif
bu_vls_printf(&vls, "mouse_comb_edit_select %d %d", x, y);
} else if (mged_variables->mv_mouse_behavior == 'o' && !stolen) {
-#if 0
- if (grid_state->gr_snap) {
- snap_to_grid(&fx, &fy);
- x = fx * GED_MAX;
- y = fy * GED_MAX;
- }
-#endif
bu_vls_printf(&vls, "mouse_rt_obj_select %d %d", x, y);
} else if (adc_state->adc_draw && mged_variables->mv_transform == 'a'
&& !stolen) {
point_t model_pt;
@@ -571,16 +543,6 @@
dmp->dm_width = width;
dmp->dm_height = height;
-#if defined(DM_X) || defined(DM_TK) || defined(DM_OGL) || defined(DM_WGL)
-# if 0
- Tk_ResizeWindow(((struct dm_xvars *)dmp->dm_vars.pub_vars)->xtkwin,
width, height);
-# else
-#if defined(HAVE_TK)
- Tk_GeometryRequest(((struct dm_xvars
*)dmp->dm_vars.pub_vars)->xtkwin, width, height);
-#endif
-# endif
-#endif
-
return TCL_OK;
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent
caught up. So what steps can you take to put your SQL databases under
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits