mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 13:41:03 +00:00 
			
		
		
		
	Add get_edited_property_value() shorthand method
This commit is contained in:
		
							parent
							
								
									2eec9a67d5
								
							
						
					
					
						commit
						010ce46ffa
					
				
					 8 changed files with 65 additions and 64 deletions
				
			
		|  | @ -169,7 +169,7 @@ void EditorPropertyRootMotion::_node_clear() { | |||
| } | ||||
| 
 | ||||
| void EditorPropertyRootMotion::update_property() { | ||||
| 	NodePath p = get_edited_object()->get(get_edited_property()); | ||||
| 	NodePath p = get_edited_property_value(); | ||||
| 	assign->set_tooltip_text(p); | ||||
| 	if (p == NodePath()) { | ||||
| 		assign->set_icon(Ref<Texture2D>()); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 kobewi
						kobewi