Revision: 45868
http://brlcad.svn.sourceforge.net/brlcad/?rev=45868&view=rev
Author: brlcad
Date: 2011-08-10 03:27:49 +0000 (Wed, 10 Aug 2011)
Log Message:
-----------
the rt_fwrite_internal/db_fwrite_internal functions are only intended to work
with v4 geometry.
Modified Paths:
--------------
brlcad/trunk/src/librt/db_io.c
brlcad/trunk/src/librt/dir.c
Modified: brlcad/trunk/src/librt/db_io.c
===================================================================
--- brlcad/trunk/src/librt/db_io.c 2011-08-09 23:18:18 UTC (rev 45867)
+++ brlcad/trunk/src/librt/db_io.c 2011-08-10 03:27:49 UTC (rev 45868)
@@ -429,6 +429,8 @@
* The 'name' field of the external representation is modified to
* contain the desired name. The 'ep' parameter cannot be const.
*
+ * THIS ROUTINE ONLY SUPPORTS WRITING V4 GEOMETRY.
+ *
* Returns -
* <0 error
* 0 OK
Modified: brlcad/trunk/src/librt/dir.c
===================================================================
--- brlcad/trunk/src/librt/dir.c 2011-08-09 23:18:18 UTC (rev 45867)
+++ brlcad/trunk/src/librt/dir.c 2011-08-10 03:27:49 UTC (rev 45868)
@@ -202,6 +202,8 @@
*
* Can't really require a dbip parameter, as many callers won't have one.
*
+ * THIS ROUTINE ONLY SUPPORTS WRITING V4 GEOMETRY.
+ *
* Returns -
* 0 OK
* <0 error
@@ -217,9 +219,10 @@
int ret;
RT_CK_DB_INTERNAL(ip);
- BU_EXTERNAL_INIT(&ext);
RT_CK_FUNCTAB(ip->idb_meth);
+ BU_EXTERNAL_INIT(&ext);
+
ret = -1;
if (ip->idb_meth->ft_export4) {
ret = ip->idb_meth->ft_export4(&ext, ip, conv2mm, NULL /*dbip*/,
&rt_uniresource);
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model
configuration take the hassle out of deploying and managing Subversion and
the tools developers use with it. Learn more about uberSVN and get a free
download at: http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits