mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	Meaningful error when user wants to use 3D preview but didn't install the required modules.
This commit is contained in:
		
							parent
							
								
									7d09f17810
								
							
						
					
					
						commit
						5a9c163a2e
					
				
					 2 changed files with 14 additions and 4 deletions
				
			
		|  | @ -1079,6 +1079,11 @@ sub object_preview_dialog { | |||
|         ($obj_idx, undef) = $self->selected_object; | ||||
|     } | ||||
|      | ||||
|     if (!$Slic3r::GUI::have_OpenGL) { | ||||
|         Slic3r::GUI::show_error($self, "Please install the OpenGL modules to use this feature (see build instructions)."); | ||||
|         return; | ||||
|     } | ||||
|      | ||||
|     my $dlg = Slic3r::GUI::Plater::ObjectPreviewDialog->new($self, | ||||
| 		object => $self->{objects}[$obj_idx], | ||||
| 	); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Alessandro Ranellucci
						Alessandro Ranellucci