mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 03:30:06 +00:00 
			
		
		
		
	Update most instances of current time to use a time offset
This commit is contained in:
		
							parent
							
								
									e0a4dee72b
								
							
						
					
					
						commit
						bd27d0e562
					
				
					 19 changed files with 48 additions and 38 deletions
				
			
		|  | @ -1,6 +1,7 @@ | |||
| #include <scwx/qt/gl/draw/placefile_polygons.hpp> | ||||
| #include <scwx/qt/util/maplibre.hpp> | ||||
| #include <scwx/util/logger.hpp> | ||||
| #include <scwx/util/time.hpp> | ||||
| 
 | ||||
| #include <mutex> | ||||
| 
 | ||||
|  | @ -259,7 +260,7 @@ void PlacefilePolygons::Render( | |||
|       // Selected time
 | ||||
|       std::chrono::system_clock::time_point selectedTime = | ||||
|          (p->selectedTime_ == std::chrono::system_clock::time_point {}) ? | ||||
|             std::chrono::system_clock::now() : | ||||
|             scwx::util::time::now() : | ||||
|             p->selectedTime_; | ||||
|       glUniform1i( | ||||
|          p->uSelectedTimeLocation_, | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat