mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Style: apply clang-format (5.0.0) to current source
This commit is contained in:
parent
7e2d6b4450
commit
6a4e7198c5
147 changed files with 465 additions and 399 deletions
|
|
@ -127,7 +127,7 @@ void BakedLightEditor::_notification(int p_option) {
|
|||
|
||||
baker->update_octree_images(octree_texture, light_texture);
|
||||
baker->update_octree_sampler(octree_sampler);
|
||||
// print_line("sampler size: "+itos(octree_sampler.size()*4));
|
||||
//print_line("sampler size: "+itos(octree_sampler.size()*4));
|
||||
|
||||
#if 1
|
||||
//debug
|
||||
|
|
|
|||
|
|
@ -66,8 +66,8 @@ class SnapDialog : public ConfirmationDialog {
|
|||
SpinBox *rotation_step;
|
||||
|
||||
public:
|
||||
SnapDialog()
|
||||
: ConfirmationDialog() {
|
||||
SnapDialog() :
|
||||
ConfirmationDialog() {
|
||||
const int SPIN_BOX_GRID_RANGE = 256;
|
||||
const int SPIN_BOX_ROTATION_RANGE = 360;
|
||||
Label *label;
|
||||
|
|
|
|||
|
|
@ -392,7 +392,7 @@ CollisionPolygon2DEditor::CollisionPolygon2DEditor(EditorNode *p_editor) {
|
|||
button_edit->set_toggle_mode(true);
|
||||
button_edit->set_tooltip("Edit existing polygon:\nLMB: Move Point.\nCtrl+LMB: Split Segment.\nRMB: Erase Point.");
|
||||
|
||||
//add_constant_override("separation",0);
|
||||
//add_constant_override("separation",0);
|
||||
|
||||
#if 0
|
||||
options = memnew( MenuButton );
|
||||
|
|
|
|||
|
|
@ -512,7 +512,7 @@ CollisionPolygonEditor::CollisionPolygonEditor(EditorNode *p_editor) {
|
|||
button_edit->connect("pressed", this, "_menu_option", varray(MODE_EDIT));
|
||||
button_edit->set_toggle_mode(true);
|
||||
|
||||
//add_constant_override("separation",0);
|
||||
//add_constant_override("separation",0);
|
||||
|
||||
#if 0
|
||||
options = memnew( MenuButton );
|
||||
|
|
|
|||
|
|
@ -427,7 +427,7 @@ LightOccluder2DEditor::LightOccluder2DEditor(EditorNode *p_editor) {
|
|||
add_child(create_poly);
|
||||
create_poly->get_ok()->set_text(TTR("Create"));
|
||||
|
||||
//add_constant_override("separation",0);
|
||||
//add_constant_override("separation",0);
|
||||
|
||||
#if 0
|
||||
options = memnew( MenuButton );
|
||||
|
|
|
|||
|
|
@ -470,7 +470,7 @@ NavigationPolygonEditor::NavigationPolygonEditor(EditorNode *p_editor) {
|
|||
add_child(create_nav);
|
||||
create_nav->get_ok()->set_text(TTR("Create"));
|
||||
|
||||
//add_constant_override("separation",0);
|
||||
//add_constant_override("separation",0);
|
||||
|
||||
#if 0
|
||||
options = memnew( MenuButton );
|
||||
|
|
|
|||
|
|
@ -775,7 +775,7 @@ Polygon2DEditor::Polygon2DEditor(EditorNode *p_editor) {
|
|||
add_child(button_uv);
|
||||
button_uv->connect("pressed", this, "_menu_option", varray(MODE_EDIT_UV));
|
||||
|
||||
//add_constant_override("separation",0);
|
||||
//add_constant_override("separation",0);
|
||||
|
||||
#if 0
|
||||
options = memnew( MenuButton );
|
||||
|
|
|
|||
|
|
@ -211,7 +211,7 @@ struct _PaletteEntry {
|
|||
return name < p_rhs.name;
|
||||
}
|
||||
};
|
||||
}
|
||||
} // namespace
|
||||
|
||||
void TileMapEditor::_update_palette() {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue