@@ -66,9 +66,8 @@ bool xcsg_main::run()
66
66
throw std::logic_error (sout.str ());
67
67
}
68
68
69
- // determine if we run in web mode or not
70
- bool web_mode = m_cmd.count (" web" )>0 ;
71
- bool show_path = !web_mode;
69
+ // determine if we shall display full file paths
70
+ bool show_path = m_cmd.count (" fullpath" )>0 ;
72
71
73
72
cf_xmlTree tree;
74
73
if (tree.read_xml (xcsg_file)) {
@@ -114,9 +113,8 @@ bool xcsg_main::run_xsolid(cf_xmlNode& node,const std::string& xcsg_file)
114
113
std::shared_ptr<xsolid> obj = xcsg_factory::singleton ().make_solid (node);
115
114
if (obj.get ()) {
116
115
117
- // determine if we run in web mode or not
118
- bool web_mode = m_cmd.count (" web" )>0 ;
119
- bool show_path = !web_mode;
116
+ // determine if we shall display full file paths
117
+ bool show_path = m_cmd.count (" fullpath" )>0 ;
120
118
121
119
size_t nbool = obj->nbool ();
122
120
cout << " ...completed CSG tree: " << nbool << " boolean operations to process." << endl;
@@ -208,9 +206,8 @@ bool xcsg_main::run_xshape2d(cf_xmlNode& node,const std::string& xcsg_file)
208
206
std::shared_ptr<xshape2d> obj = xcsg_factory::singleton ().make_shape2d (node);
209
207
if (obj.get ()) {
210
208
211
- // determine if we run in web mode or not
212
- bool web_mode = m_cmd.count (" web" )>0 ;
213
- bool show_path = !web_mode;
209
+ // determine if we shall display full file paths
210
+ bool show_path = m_cmd.count (" fullpath" )>0 ;
214
211
215
212
size_t nbool = obj->nbool ();
216
213
cout << " ...completed CSG tree: " << nbool << " boolean operations to process." << endl;
0 commit comments