Revision: 76992
http://sourceforge.net/p/brlcad/code/76992
Author: brlcad
Date: 2020-08-31 07:57:28 +0000 (Mon, 31 Aug 2020)
Log Message:
-----------
unclear and undocumented why db_lookup is explicitly turning off the inmem
flag, so leave a note to investigate.
Modified Paths:
--------------
brlcad/trunk/src/librt/db_lookup.c
Modified: brlcad/trunk/src/librt/db_lookup.c
===================================================================
--- brlcad/trunk/src/librt/db_lookup.c 2020-08-31 05:18:06 UTC (rev 76991)
+++ brlcad/trunk/src/librt/db_lookup.c 2020-08-31 07:57:28 UTC (rev 76992)
@@ -281,6 +281,10 @@
RT_CK_DIR(dp);
RT_DIR_SET_NAMEP(dp, bu_vls_addr(&local)); /* sets d_namep */
dp->d_addr = laddr;
+
+ /* TODO: investigate removing exclusion of INMEM flag, added by
+ * mike in c13285 when in-mem support was originally added
+ */
dp->d_flags = flags & ~(RT_DIR_INMEM);
dp->d_len = len;
dp->d_forw = *headp;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits