@@ -328,6 +328,7 @@ std::ostream& PlaceNodeAttributes::fill_ostream(std::ostream& out) const {
328328 out << std::boolalpha << " \n - real place: " << real_place;
329329 out << std::boolalpha << " \n - need cleanup: " << need_cleanup;
330330 out << std::boolalpha << " \n - active frontier: " << active_frontier;
331+ out << std::boolalpha << " \n - anti frontier: " << active_frontier;
331332 out << " \n - num frontier voxels: " << num_frontier_voxels;
332333 return out;
333334}
@@ -346,6 +347,12 @@ void PlaceNodeAttributes::serialization_info() {
346347 serialization::field (" orientation" , orientation);
347348 serialization::field (" need_cleanup" , need_cleanup);
348349 serialization::field (" num_frontier_voxels" , num_frontier_voxels);
350+ const auto & header = io::GlobalInfo::loadedHeader ();
351+ if (header.version < io::Version (1 , 1 , 3 )) {
352+ io::warnOutdatedHeader (header);
353+ } else {
354+ serialization::field (" anti_frontier" , anti_frontier);
355+ }
349356}
350357
351358bool PlaceNodeAttributes::is_equal (const NodeAttributes& other) const {
@@ -366,6 +373,7 @@ bool PlaceNodeAttributes::is_equal(const NodeAttributes& other) const {
366373 deformation_connections == derived->deformation_connections &&
367374 real_place == derived->real_place &&
368375 active_frontier == derived->active_frontier &&
376+ anti_frontier == derived->anti_frontier &&
369377 frontier_scale == derived->frontier_scale &&
370378 quaternionsEqual (orientation, derived->orientation ) &&
371379 need_cleanup == derived->need_cleanup &&
0 commit comments