mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	Fix of objects have wrong color when using convex printbeds - SPE-1132
This commit is contained in:
		
							parent
							
								
									9e3e565bb6
								
							
						
					
					
						commit
						c071132385
					
				
					 1 changed files with 4 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -5119,10 +5119,12 @@ void GLCanvas3D::_render_objects(GLVolumeCollection::ERenderType type)
 | 
			
		|||
            break;
 | 
			
		||||
        }
 | 
			
		||||
        default:
 | 
			
		||||
        case BuildVolume::Type::Convex:
 | 
			
		||||
        case BuildVolume::Type::Custom: {
 | 
			
		||||
            m_volumes.set_print_volume({ static_cast<int>(type),
 | 
			
		||||
                { 0.0f, 0.0f, 0.0f, 0.0f },
 | 
			
		||||
                { 0.0f, 0.0f } });
 | 
			
		||||
                { -FLT_MAX, -FLT_MAX, FLT_MAX, FLT_MAX },
 | 
			
		||||
                { -FLT_MAX, FLT_MAX } }
 | 
			
		||||
            );
 | 
			
		||||
        }
 | 
			
		||||
        }
 | 
			
		||||
        if (m_requires_check_outside_state) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue