show send single object even in non-render scene
This commit is contained in:
		
							parent
							
								
									2f4afd7584
								
							
						
					
					
						commit
						c8e576b7e7
					
				
							
								
								
									
										5
									
								
								ui.py
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								ui.py
									
									
									
									
									
								
							| @ -230,9 +230,8 @@ class GPEXP_PT_gp_dopesheet_ui(Panel): | ||||
| 
 | ||||
|         col = layout.column() | ||||
|         col.label(text='Whole Objects:') | ||||
|         if context.scene.name != 'Render': | ||||
|             txt = f'{len([o for o in context.selected_objects if o.type == "GPENCIL" and o.select_get()])} Selected Object(s) To Render' | ||||
|             col.operator('gp.add_object_to_render', icon='RENDERLAYERS', text=txt).mode='SELECTED' | ||||
|         txt = f'{len([o for o in context.selected_objects if o.type == "GPENCIL" and o.select_get()])} Selected Object(s) To Render' | ||||
|         col.operator('gp.add_object_to_render', icon='RENDERLAYERS', text=txt).mode='SELECTED' | ||||
|         col.operator('gp.add_object_to_render', icon='RENDERLAYERS', text='All Visible GP To Render').mode='ALL' | ||||
| 
 | ||||
|         layout.separator() | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user