mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	Fixed GLCanvas3D::Selection::is_single_full_instance()
This commit is contained in:
		
							parent
							
								
									8b74cc48eb
								
							
						
					
					
						commit
						af72d781ad
					
				
					 1 changed files with 4 additions and 1 deletions
				
			
		|  | @ -1145,8 +1145,11 @@ bool GLCanvas3D::Selection::is_single_full_instance() const | |||
|     for (unsigned int i : m_list) | ||||
|     { | ||||
|         const GLVolume* v = (*m_volumes)[i]; | ||||
|         if ((object_idx != v->object_idx()) || (instance_idx != v->instance_idx())) | ||||
|             return false; | ||||
| 
 | ||||
|         int volume_idx = v->volume_idx(); | ||||
|         if ((v->object_idx() == object_idx) && (v->instance_idx() == instance_idx) && (volume_idx >= 0)) | ||||
|         if (volume_idx >= 0) | ||||
|             volumes_idxs.insert(volume_idx); | ||||
|     } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Enrico Turri
						Enrico Turri