mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-20 07:11:12 -06:00 
			
		
		
		
	FIX: string_to_float not work as expected in some language
Change-Id: I2ea4e5547d48167f066638378417a30b1b0c82ac
This commit is contained in:
		
							parent
							
								
									43b1464bf3
								
							
						
					
					
						commit
						9b797fa985
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		|  | @ -1996,6 +1996,8 @@ int MachineObject::command_start_pa_calibration(const X1CCalibInfos &pa_data, in | |||
| 
 | ||||
| int MachineObject::command_set_pa_calibration(const std::vector<PACalibResult>& pa_calib_values) | ||||
| { | ||||
|     CNumericLocalesSetter locales_setter; | ||||
| 
 | ||||
|     if ((printer_type == "BL-P001" || printer_type == "BL-P002") && pa_calib_values.size() > 0) { | ||||
|         json j; | ||||
|         j["print"]["command"]     = "extrusion_cali_set"; | ||||
|  | @ -2622,6 +2624,8 @@ int MachineObject::local_publish_json(std::string json_str, int qos) | |||
| 
 | ||||
| int MachineObject::parse_json(std::string payload) | ||||
| { | ||||
|     CNumericLocalesSetter locales_setter; | ||||
| 
 | ||||
|     parse_msg_count++; | ||||
|     std::chrono::system_clock::time_point clock_start = std::chrono::system_clock::now(); | ||||
|     this->set_online_state(true); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 liz.li
						liz.li