mirror of
				https://github.com/godotengine/godot.git
				synced 2025-11-03 23:21:15 +00:00 
			
		
		
		
	Fix mouse filter on visual shader node previews
This commit is contained in:
		
							parent
							
								
									1586c5674b
								
							
						
					
					
						commit
						7cc0bf79dd
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -8193,6 +8193,7 @@ void VisualShaderNodePortPreview::setup(const Ref<VisualShader> &p_shader, Ref<S
 | 
			
		|||
		add_child(checkerboard);
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	set_mouse_filter(MOUSE_FILTER_PASS);
 | 
			
		||||
	shader = p_shader;
 | 
			
		||||
	shader->connect_changed(callable_mp(this, &VisualShaderNodePortPreview::_shader_changed), CONNECT_DEFERRED);
 | 
			
		||||
	preview_mat = p_preview_material;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue