mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	Merge branch 'master' of https://github.com/prusa3d/Slic3r
This commit is contained in:
		
						commit
						4dc1eee560
					
				
					 3 changed files with 2 additions and 3 deletions
				
			
		|  | @ -329,7 +329,7 @@ bool load_prus(const char *path, Model *model) | |||
|             if (! mz_zip_reader_file_stat(&archive, i, &stat)) | ||||
|                 continue; | ||||
|             std::vector<char> buffer; | ||||
|             buffer.assign((size_t)stat.m_uncomp_size + 1, 0); | ||||
|             buffer.assign((size_t)stat.m_uncomp_size, 0); | ||||
|             res = mz_zip_reader_extract_file_to_mem(&archive, stat.m_filename, (char*)buffer.data(), (size_t)stat.m_uncomp_size, 0); | ||||
|             if (res == MZ_FALSE) | ||||
|                 std::runtime_error(std::string("Error while extracting a file from ") + path); | ||||
|  |  | |||
|  | @ -487,7 +487,6 @@ WipeTowerPrusaMM::material_type WipeTowerPrusaMM::parse_material(const char *nam | |||
| 	return INVALID; | ||||
| } | ||||
| 
 | ||||
| 
 | ||||
| // Returns gcode to prime the nozzles at the front edge of the print bed.
 | ||||
| WipeTower::ToolChangeResult WipeTowerPrusaMM::prime( | ||||
| 	// print_z of the first layer.
 | ||||
|  |  | |||
|  | @ -155,7 +155,7 @@ class GLCanvas3D | |||
| //        float distance;
 | ||||
| #if !ENABLE_CONSTRAINED_CAMERA_TARGET | ||||
|         Vec3d target; | ||||
| #endif !// ENABLE_CONSTRAINED_CAMERA_TARGET
 | ||||
| #endif // ENABLE_CONSTRAINED_CAMERA_TARGET
 | ||||
| 
 | ||||
|     private: | ||||
| #if ENABLE_CONSTRAINED_CAMERA_TARGET | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Enrico Turri
						Enrico Turri