[brlcad-commits] SF.net SVN: brlcad:[33221] brlcad/trunk/src/mged
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: <br...@us...> - 2008-11-19 19:53:31
|
Revision: 33221 http://brlcad.svn.sourceforge.net/brlcad/?rev=33221&view=rev Author: brlcad Date: 2008-11-19 19:53:29 +0000 (Wed, 19 Nov 2008) Log Message: ----------- more dead code removal Modified Paths: -------------- brlcad/trunk/src/mged/buttons.c brlcad/trunk/src/mged/chgtree.c Modified: brlcad/trunk/src/mged/buttons.c =================================================================== --- brlcad/trunk/src/mged/buttons.c 2008-11-19 19:50:50 UTC (rev 33220) +++ brlcad/trunk/src/mged/buttons.c 2008-11-19 19:53:29 UTC (rev 33221) @@ -837,30 +837,7 @@ FOR_ALL_DISPLAYS(p, &head_dm_list.l) { curr_dm_list = p; -#if 0 - if (to == ST_VIEW) { - mat_t o_toViewcenter; - fastf_t o_Viewscale; - - /* save toViewcenter and Viewscale */ - MAT_COPY(o_toViewcenter, view_state->vs_toViewcenter); - o_Viewscale = view_state->vs_Viewscale; - - /* get new orig_pos */ - size_reset(); - MAT_DELTAS_GET_NEG(view_state->vs_orig_pos, view_state->vs_toViewcenter); - - /* restore old toViewcenter and Viewscale */ - MAT_COPY(view_state->vs_toViewcenter, o_toViewcenter); - view_state->vs_Viewscale = o_Viewscale; - } -#endif new_mats(); - -#if 0 - /* recompute absolute_tran */ - set_absolute_tran(); -#endif } curr_dm_list = save_dm_list; Modified: brlcad/trunk/src/mged/chgtree.c =================================================================== --- brlcad/trunk/src/mged/chgtree.c 2008-11-19 19:50:50 UTC (rev 33220) +++ brlcad/trunk/src/mged/chgtree.c 2008-11-19 19:53:29 UTC (rev 33221) @@ -383,11 +383,6 @@ db_full_path_init( &both ); db_dup_full_path( &both, &lhs ); db_append_full_path( &both, &rhs ); -#if 0 - db_pr_full_path( "lhs ", &lhs ); - db_pr_full_path( "rhs ", &rhs ); - db_pr_full_path( "both", &both); -#endif /* Patterned after ill_common() ... */ illump = BU_LIST_NEXT(solid, &dgop->dgo_headSolid);/* any valid solid would do */ @@ -413,9 +408,6 @@ (void)chg_state( ST_O_PICK, ST_O_PATH, "internal change of state"); /* Select the matrix */ -#if 0 - bu_log("matpick %d\n", lhs.fp_len); -#endif sprintf( number, "%d", lhs.fp_len ); new_argv[0] = "matpick"; new_argv[1] = number; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |