Skip to content

Commit

Permalink
simplify; minimize git diff
Browse files Browse the repository at this point in the history
  • Loading branch information
smbanx committed Oct 19, 2024
1 parent 655247d commit c46d64b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plugins/syntheticannotation/src/SyntheticAnnotation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -281,11 +281,11 @@ void SyntheticAnnotation::render( const char* outputdir ) {
//std::string viewdir;
for( int d=0; d<camera_position.size(); d++ ){
std::stringstream viewdir;
std::string slash = "/";
#ifdef _WIN32
viewdir << odir << "view" << std::setfill('0') << std::setw(5) << d << "\\";
#else
viewdir << odir << "view" << std::setfill('0') << std::setw(5) << d << "/";
slash = "\\";
#endif
viewdir << odir << "view" << std::setfill('0') << std::setw(5) << d << slash;
std::cout << "viewdir: " << viewdir.str() << std::endl;
//std::snprintf(viewdir,createdir.size()+24,"%sview%05d/",createdir.c_str(),d);
dir = std::filesystem::create_directory(viewdir.str());
Expand Down

0 comments on commit c46d64b

Please sign in to comment.