Revision: 75811
http://sourceforge.net/p/brlcad/code/75811
Author: starseeker
Date: 2020-05-15 12:28:39 +0000 (Fri, 15 May 2020)
Log Message:
-----------
Per user request, update the failure message of 3dm-g to point the user in the
direction of the most common problem - using a 3dm file saved in a version
newer than that supported by BRL-CAD's version of openNURBS.
Modified Paths:
--------------
brlcad/trunk/NEWS
brlcad/trunk/src/libgcv/plugins/rhino/rhino_read.cpp
Modified: brlcad/trunk/NEWS
===================================================================
--- brlcad/trunk/NEWS 2020-05-15 02:07:10 UTC (rev 75810)
+++ brlcad/trunk/NEWS 2020-05-15 12:28:39 UTC (rev 75811)
@@ -13,6 +13,7 @@
--- 20XX-XX-XX Release 7.3X.X ---
----------------------------------------------------------------------
+* added 3dm-g failure message about supported versions - Cliff Yapp
* fixed bw-png writing corrupted png files on Windows - Sean Morrison
Modified: brlcad/trunk/src/libgcv/plugins/rhino/rhino_read.cpp
===================================================================
--- brlcad/trunk/src/libgcv/plugins/rhino/rhino_read.cpp 2020-05-15
02:07:10 UTC (rev 75810)
+++ brlcad/trunk/src/libgcv/plugins/rhino/rhino_read.cpp 2020-05-15
12:28:39 UTC (rev 75811)
@@ -297,7 +297,7 @@
ONX_Model &model, std::string &root_name)
{
if (!model.Read(path.c_str()))
- throw InvalidRhinoModelError("ONX_Model::Read() failed");
+ throw InvalidRhinoModelError("ONX_Model::Read() failed.\n\nNote: if
this file was saved from Rhino3D, make sure it was saved using\nRhino's v5
format or lower - newer versions of the 3dm format are not\ncurrently supported
by BRL-CAD.");
std::size_t num_problems;
std::size_t num_repairs = replace_invalid_uuids(model);
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