mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 01:40:04 +00:00 
			
		
		
		
	Adding debug to when level 3 color table is updated
This commit is contained in:
		
							parent
							
								
									52771b41f0
								
							
						
					
					
						commit
						6059c3117b
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		|  | @ -1,5 +1,6 @@ | ||||||
| #include <scwx/qt/view/level3_product_view.hpp> | #include <scwx/qt/view/level3_product_view.hpp> | ||||||
| #include <scwx/common/constants.hpp> | #include <scwx/common/constants.hpp> | ||||||
|  | #include <scwx/util/logger.hpp> | ||||||
| #include <scwx/util/threads.hpp> | #include <scwx/util/threads.hpp> | ||||||
| #include <scwx/util/time.hpp> | #include <scwx/util/time.hpp> | ||||||
| #include <scwx/wsr88d/rpg/digital_radial_data_array_packet.hpp> | #include <scwx/wsr88d/rpg/digital_radial_data_array_packet.hpp> | ||||||
|  | @ -17,6 +18,7 @@ namespace view | ||||||
| { | { | ||||||
| 
 | 
 | ||||||
| static const std::string logPrefix_ = "scwx::qt::view::level3_product_view"; | static const std::string logPrefix_ = "scwx::qt::view::level3_product_view"; | ||||||
|  | static const auto        logger_    = util::Logger::Create(logPrefix_); | ||||||
| 
 | 
 | ||||||
| static constexpr uint16_t RANGE_FOLDED = 1u; | static constexpr uint16_t RANGE_FOLDED = 1u; | ||||||
| 
 | 
 | ||||||
|  | @ -130,6 +132,8 @@ void Level3ProductView::Update() | ||||||
| 
 | 
 | ||||||
| void Level3ProductView::UpdateColorTable() | void Level3ProductView::UpdateColorTable() | ||||||
| { | { | ||||||
|  |    logger_->debug("UpdateColorTable()"); | ||||||
|  | 
 | ||||||
|    if (p->graphicMessage_ == nullptr || //
 |    if (p->graphicMessage_ == nullptr || //
 | ||||||
|        p->colorTable_ == nullptr ||     //
 |        p->colorTable_ == nullptr ||     //
 | ||||||
|        !p->colorTable_->IsValid()) |        !p->colorTable_->IsValid()) | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat