comparison Applications/StoneWebViewer/WebAssembly/StoneWebViewer.cpp @ 1578:1f812f4c95be

comments
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 24 Sep 2020 17:20:36 +0200
parents 92fca2b3ba3d
children c476b0d5e59c
comparison
equal deleted inserted replaced
1577:e8a120dd05bd 1578:1f812f4c95be
1905 1905
1906 assert(viewport_ != NULL); 1906 assert(viewport_ != NULL);
1907 viewport_->AcquireInteractor(interactor.release()); 1907 viewport_->AcquireInteractor(interactor.release());
1908 } 1908 }
1909 1909
1910 1910 void FitForPrint()
1911
1912 void FitForPrint() // TODO - REMOVE
1913 { 1911 {
1914 viewport_->FitForPrint(); 1912 viewport_->FitForPrint();
1915 } 1913 }
1916 }; 1914 };
1917 1915
2466 EXTERN_CATCH_EXCEPTIONS; 2464 EXTERN_CATCH_EXCEPTIONS;
2467 } 2465 }
2468 2466
2469 2467
2470 EMSCRIPTEN_KEEPALIVE 2468 EMSCRIPTEN_KEEPALIVE
2471 void FitForPrint() // TODO - REMOVE 2469 void FitForPrint()
2472 { 2470 {
2473 try 2471 try
2474 { 2472 {
2475 for (Viewports::iterator it = allViewports_.begin(); it != allViewports_.end(); ++it) 2473 for (Viewports::iterator it = allViewports_.begin(); it != allViewports_.end(); ++it)
2476 { 2474 {