Revision: 45784
http://brlcad.svn.sourceforge.net/brlcad/?rev=45784&view=rev
Author: bhinesley
Date: 2011-08-04 17:17:19 +0000 (Thu, 04 Aug 2011)
Log Message:
-----------
An argument duplication function was checking the (always empty) destination
argument for an object before copying, when it should have been checking the
source argument
Modified Paths:
--------------
brlcad/trunk/src/libged/edit.c
Modified: brlcad/trunk/src/libged/edit.c
===================================================================
--- brlcad/trunk/src/libged/edit.c 2011-08-04 16:55:28 UTC (rev 45783)
+++ brlcad/trunk/src/libged/edit.c 2011-08-04 17:17:19 UTC (rev 45784)
@@ -993,7 +993,7 @@
dest->cl_options[i] = src->cl_options[i];
dest->coords_used = src->coords_used;
dest->type = src->type;
- if (dest->object) {
+ if (src->object) {
dest->object = (struct db_full_path *)bu_malloc(
sizeof(struct db_full_path),
"struct db_full_path block for"
@@ -1745,7 +1745,6 @@
/* process all other arg nodes */
while ((arg_head = subcmd->cmd->get_next_arg_head(subcmd)) !=
subcmd->common.objects) {
-
for (cur_arg = arg_head; cur_arg; cur_arg = cur_arg->next) {
/* cmd line opts should have been handled/removed */
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts.
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits