mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 13:41:03 +00:00 
			
		
		
		
	
							parent
							
								
									132e2f458d
								
							
						
					
					
						commit
						8d51618949
					
				
					 134 changed files with 1107 additions and 1110 deletions
				
			
		|  | @ -4695,10 +4695,10 @@ void SpatialEditor::_init_indicators() { | |||
| 				plane_mat->set_on_top_of_alpha(); | ||||
| 				plane_mat->set_feature(SpatialMaterial::FEATURE_TRANSPARENT, true); | ||||
| 				plane_mat->set_cull_mode(SpatialMaterial::CULL_DISABLED); | ||||
| 				Color col; | ||||
| 				col[i] = 1.0; | ||||
| 				col.a = gizmo_alph; | ||||
| 				plane_mat->set_albedo(col); | ||||
| 				Color col2; | ||||
| 				col2[i] = 1.0; | ||||
| 				col2.a = gizmo_alph; | ||||
| 				plane_mat->set_albedo(col2); | ||||
| 				plane_gizmo_color[i] = plane_mat; // needed, so we can draw planes from both sides
 | ||||
| 				surftool->set_material(plane_mat); | ||||
| 				surftool->commit(move_plane_gizmo[i]); | ||||
|  | @ -4824,10 +4824,10 @@ void SpatialEditor::_init_indicators() { | |||
| 				plane_mat->set_on_top_of_alpha(); | ||||
| 				plane_mat->set_feature(SpatialMaterial::FEATURE_TRANSPARENT, true); | ||||
| 				plane_mat->set_cull_mode(SpatialMaterial::CULL_DISABLED); | ||||
| 				Color col; | ||||
| 				col[i] = 1.0; | ||||
| 				col.a = gizmo_alph; | ||||
| 				plane_mat->set_albedo(col); | ||||
| 				Color col2; | ||||
| 				col2[i] = 1.0; | ||||
| 				col2.a = gizmo_alph; | ||||
| 				plane_mat->set_albedo(col2); | ||||
| 				plane_gizmo_color[i] = plane_mat; // needed, so we can draw planes from both sides
 | ||||
| 				surftool->set_material(plane_mat); | ||||
| 				surftool->commit(scale_plane_gizmo[i]); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 marxin
						marxin