Style: Fix some badly formatted files
This commit is contained in:
parent
e9b045d9e5
commit
2491754de7
7 changed files with 43 additions and 42 deletions
|
@ -1266,8 +1266,7 @@ void SceneTreeDock::_selection_changed() {
|
|||
if (EditorNode::get_singleton()->get_editor_selection()->get_selection().front()->key()->get_script().is_null()) {
|
||||
button_create_script->show();
|
||||
button_clear_script->hide();
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
button_create_script->hide();
|
||||
button_clear_script->show();
|
||||
}
|
||||
|
|
|
@ -103,7 +103,6 @@ void ScriptCreateDialog::ok_pressed() {
|
|||
|
||||
create_new = true;
|
||||
_update_controls();
|
||||
|
||||
}
|
||||
|
||||
void ScriptCreateDialog::_create_new() {
|
||||
|
|
|
@ -207,16 +207,19 @@ struct GJK {
|
|||
real_t weights[4];
|
||||
U mask = 0;
|
||||
switch (cs.rank) {
|
||||
case 2: sqdist = projectorigin(cs.c[0]->w,
|
||||
case 2:
|
||||
sqdist = projectorigin(cs.c[0]->w,
|
||||
cs.c[1]->w,
|
||||
weights, mask);
|
||||
break;
|
||||
case 3: sqdist = projectorigin(cs.c[0]->w,
|
||||
case 3:
|
||||
sqdist = projectorigin(cs.c[0]->w,
|
||||
cs.c[1]->w,
|
||||
cs.c[2]->w,
|
||||
weights, mask);
|
||||
break;
|
||||
case 4: sqdist = projectorigin(cs.c[0]->w,
|
||||
case 4:
|
||||
sqdist = projectorigin(cs.c[0]->w,
|
||||
cs.c[1]->w,
|
||||
cs.c[2]->w,
|
||||
cs.c[3]->w,
|
||||
|
|
Loading…
Reference in a new issue