mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 13:41:03 +00:00 
			
		
		
		
	Fix EditorInspectorPlugin virtual bindings and add parse_group callback
This commit is contained in:
		
							parent
							
								
									e317e34c15
								
							
						
					
					
						commit
						2e4d18c929
					
				
					 13 changed files with 44 additions and 67 deletions
				
			
		|  | @ -44,13 +44,6 @@ void EditorInspectorPluginStyleBox::parse_begin(Object *p_object) { | |||
| 	add_custom_control(preview); | ||||
| } | ||||
| 
 | ||||
| bool EditorInspectorPluginStyleBox::parse_property(Object *p_object, const Variant::Type p_type, const String &p_path, PropertyHint p_hint, const String &p_hint_text, const uint32_t p_usage, bool p_wide) { | ||||
| 	return false; //do not want
 | ||||
| } | ||||
| 
 | ||||
| void EditorInspectorPluginStyleBox::parse_end() { | ||||
| } | ||||
| 
 | ||||
| void StyleBoxPreview::edit(const Ref<StyleBox> &p_stylebox) { | ||||
| 	if (stylebox.is_valid()) { | ||||
| 		stylebox->disconnect("changed", callable_mp(this, &StyleBoxPreview::_sb_changed)); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Yuri Sizov
						Yuri Sizov