Revision: 45864
http://brlcad.svn.sourceforge.net/brlcad/?rev=45864&view=rev
Author: brlcad
Date: 2011-08-09 23:04:45 +0000 (Tue, 09 Aug 2011)
Log Message:
-----------
initialize all of the dsp fields so we don't crash on export
Modified Paths:
--------------
brlcad/trunk/src/proc-db/csgbrep.cpp
Modified: brlcad/trunk/src/proc-db/csgbrep.cpp
===================================================================
--- brlcad/trunk/src/proc-db/csgbrep.cpp 2011-08-09 23:04:15 UTC (rev
45863)
+++ brlcad/trunk/src/proc-db/csgbrep.cpp 2011-08-09 23:04:45 UTC (rev
45864)
@@ -605,9 +605,12 @@
dsp.dsp_ycnt = 256;
dsp.dsp_smooth = 1;
dsp.dsp_cuttype = 'a';
- dsp.dsp_datasrc = RT_DSP_SRC_FILE;
MAT_IDN(dsp.dsp_mtos);
MAT_IDN(dsp.dsp_stom);
+ dsp.dsp_buf = NULL;
+ dsp.dsp_mp = NULL;
+ dsp.dsp_bip = NULL;
+ dsp.dsp_datasrc = RT_DSP_SRC_FILE;
tmp_internal.idb_ptr = (genptr_t)&dsp;
tmp_internal.idb_meth = &rt_functab[ID_DSP];
write_out(outfp, &tmp_internal, "dsp", &tol);
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