Style: Various fixes to play nice with clang-format
This commit is contained in:
@@ -5520,7 +5520,7 @@ EditorNode::EditorNode() {
|
||||
|
||||
FileAccess::set_backup_save(true);
|
||||
|
||||
PathRemap::get_singleton()->clear_remaps();; //editor uses no remaps
|
||||
PathRemap::get_singleton()->clear_remaps(); //editor uses no remaps
|
||||
TranslationServer::get_singleton()->set_enabled(false);
|
||||
// load settings
|
||||
if (!EditorSettings::get_singleton())
|
||||
|
||||
@@ -286,7 +286,8 @@ void EditorSpatialGizmo::add_handles(const Vector<Vector3> &p_handles, bool p_bi
|
||||
Vector<Vector3> normals;
|
||||
|
||||
int vtx_idx=0;
|
||||
#define ADD_VTX(m_idx);\
|
||||
|
||||
#define ADD_VTX(m_idx) \
|
||||
vertices.push_back( (face_points[m_idx]*HANDLE_HALF_SIZE+p_handles[ih]) );\
|
||||
normals.push_back( normal_points[m_idx] );\
|
||||
vtx_idx++;\
|
||||
@@ -3437,7 +3438,7 @@ SpatialEditorGizmos::SpatialEditorGizmos() {
|
||||
PoolVector<Vector3> vertices;
|
||||
|
||||
#undef ADD_VTX
|
||||
#define ADD_VTX(m_idx);\
|
||||
#define ADD_VTX(m_idx) \
|
||||
vertices.push_back( face_points[m_idx] );
|
||||
|
||||
for (int i=0;i<6;i++) {
|
||||
|
||||
Reference in New Issue
Block a user