mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 05:31:01 +00:00 
			
		
		
		
	Fix highlight typo
This commit is contained in:
		
							parent
							
								
									0ede0302ba
								
							
						
					
					
						commit
						d51fe99a8b
					
				
					 5 changed files with 20 additions and 20 deletions
				
			
		|  | @ -524,7 +524,7 @@ bool SpatialEditorViewport::_gizmo_select(const Vector2 &p_screenpos, bool p_hil | |||
| 		return false; | ||||
| 	if (get_selected_count() == 0) { | ||||
| 		if (p_hilite_only) | ||||
| 			spatial_editor->select_gizmo_hilight_axis(-1); | ||||
| 			spatial_editor->select_gizmo_highlight_axis(-1); | ||||
| 		return false; | ||||
| 	} | ||||
| 
 | ||||
|  | @ -558,7 +558,7 @@ bool SpatialEditorViewport::_gizmo_select(const Vector2 &p_screenpos, bool p_hil | |||
| 
 | ||||
| 			if (p_hilite_only) { | ||||
| 
 | ||||
| 				spatial_editor->select_gizmo_hilight_axis(col_axis); | ||||
| 				spatial_editor->select_gizmo_highlight_axis(col_axis); | ||||
| 
 | ||||
| 			} else { | ||||
| 				//handle rotate
 | ||||
|  | @ -598,7 +598,7 @@ bool SpatialEditorViewport::_gizmo_select(const Vector2 &p_screenpos, bool p_hil | |||
| 
 | ||||
| 			if (p_hilite_only) { | ||||
| 
 | ||||
| 				spatial_editor->select_gizmo_hilight_axis(col_axis + 3); | ||||
| 				spatial_editor->select_gizmo_highlight_axis(col_axis + 3); | ||||
| 			} else { | ||||
| 				//handle rotate
 | ||||
| 				_edit.mode = TRANSFORM_ROTATE; | ||||
|  | @ -610,7 +610,7 @@ bool SpatialEditorViewport::_gizmo_select(const Vector2 &p_screenpos, bool p_hil | |||
| 	} | ||||
| 
 | ||||
| 	if (p_hilite_only) | ||||
| 		spatial_editor->select_gizmo_hilight_axis(-1); | ||||
| 		spatial_editor->select_gizmo_highlight_axis(-1); | ||||
| 
 | ||||
| 	return false; | ||||
| } | ||||
|  | @ -1069,7 +1069,7 @@ void SpatialEditorViewport::_sinput(const InputEvent &p_event) { | |||
| 						spatial_editor->set_over_gizmo_handle(selected_handle); | ||||
| 						spatial_editor->get_selected()->update_gizmo(); | ||||
| 						if (selected_handle != -1) | ||||
| 							spatial_editor->select_gizmo_hilight_axis(-1); | ||||
| 							spatial_editor->select_gizmo_highlight_axis(-1); | ||||
| 					} | ||||
| 				} | ||||
| 			} | ||||
|  | @ -2229,7 +2229,7 @@ SpatialEditorSelectedItem::~SpatialEditorSelectedItem() { | |||
| 		VisualServer::get_singleton()->free(sbox_instance); | ||||
| } | ||||
| 
 | ||||
| void SpatialEditor::select_gizmo_hilight_axis(int p_axis) { | ||||
| void SpatialEditor::select_gizmo_highlight_axis(int p_axis) { | ||||
| 
 | ||||
| 	for (int i = 0; i < 3; i++) { | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 supaiku
						supaiku