mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 05:31:01 +00:00 
			
		
		
		
	Add EditorStringNames singleton
This commit is contained in:
		
							parent
							
								
									fa3428ff25
								
							
						
					
					
						commit
						6de34fde27
					
				
					 176 changed files with 2549 additions and 2325 deletions
				
			
		|  | @ -45,8 +45,8 @@ | |||
| void Polygon3DEditor::_notification(int p_what) { | ||||
| 	switch (p_what) { | ||||
| 		case NOTIFICATION_READY: { | ||||
| 			button_create->set_icon(get_theme_icon(SNAME("Edit"), SNAME("EditorIcons"))); | ||||
| 			button_edit->set_icon(get_theme_icon(SNAME("MovePoint"), SNAME("EditorIcons"))); | ||||
| 			button_create->set_icon(get_editor_theme_icon(SNAME("Edit"))); | ||||
| 			button_edit->set_icon(get_editor_theme_icon(SNAME("MovePoint"))); | ||||
| 			button_edit->set_pressed(true); | ||||
| 			get_tree()->connect("node_removed", callable_mp(this, &Polygon3DEditor::_node_removed)); | ||||
| 
 | ||||
|  | @ -569,7 +569,7 @@ Polygon3DEditor::Polygon3DEditor() { | |||
| 	handle_material->set_transparency(StandardMaterial3D::TRANSPARENCY_ALPHA); | ||||
| 	handle_material->set_flag(StandardMaterial3D::FLAG_ALBEDO_FROM_VERTEX_COLOR, true); | ||||
| 	handle_material->set_flag(StandardMaterial3D::FLAG_SRGB_VERTEX_COLOR, true); | ||||
| 	Ref<Texture2D> handle = EditorNode::get_singleton()->get_gui_base()->get_theme_icon(SNAME("Editor3DHandle"), SNAME("EditorIcons")); | ||||
| 	Ref<Texture2D> handle = EditorNode::get_singleton()->get_gui_base()->get_editor_theme_icon(SNAME("Editor3DHandle")); | ||||
| 	handle_material->set_point_size(handle->get_width()); | ||||
| 	handle_material->set_texture(StandardMaterial3D::TEXTURE_ALBEDO, handle); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 kobewi
						kobewi