Revision: 70726
          http://sourceforge.net/p/brlcad/code/70726
Author:   starseeker
Date:     2018-02-22 16:16:30 +0000 (Thu, 22 Feb 2018)
Log Message:
-----------
If we're at the init stage, can't count on an error callback being available - 
go with bu_log

Modified Paths:
--------------
    brlcad/trunk/src/libanalyze/nirt.cxx

Modified: brlcad/trunk/src/libanalyze/nirt.cxx
===================================================================
--- brlcad/trunk/src/libanalyze/nirt.cxx        2018-02-22 14:50:50 UTC (rev 
70725)
+++ brlcad/trunk/src/libanalyze/nirt.cxx        2018-02-22 16:16:30 UTC (rev 
70726)
@@ -2860,12 +2860,12 @@
     std::string fmtline;
     fs.open(bu_brlcad_data("nirt/default.nrt", 0), std::fstream::binary);
     if (!fs.is_open()) {
-       nerr(ns, "Error - could not load default NIRT formatting file: %s\n", 
bu_brlcad_data("nirt/default.nrt", 0));
+       bu_log("Error - could not load default NIRT formatting file: %s\n", 
bu_brlcad_data("nirt/default.nrt", 0));
        return -1;
     }
     while (std::getline(fs, fmtline)) {
        if (nirt_exec(ns, fmtline.c_str()) < 0) {
-           nerr(ns, "Error - could not load default NIRT formatting file: 
%s\n", bu_brlcad_data("nirt/default.nrt", 0));
+           bu_log("Error - could not load default NIRT formatting file: %s\n", 
bu_brlcad_data("nirt/default.nrt", 0));
            return -1;
        }
     }

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Source Commits mailing list
brlcad-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to