You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
remove trailing whitespace
This commit is contained in:
@@ -49,10 +49,10 @@ friend class CanvasItemEditor;
|
||||
SpinBox *grid_offset_x;
|
||||
SpinBox *grid_offset_y;
|
||||
SpinBox *grid_step_x;
|
||||
SpinBox *grid_step_y;
|
||||
SpinBox *rotation_offset;
|
||||
SpinBox *grid_step_y;
|
||||
SpinBox *rotation_offset;
|
||||
SpinBox *rotation_step;
|
||||
|
||||
|
||||
public:
|
||||
SnapDialog() : ConfirmationDialog() {
|
||||
const int SPIN_BOX_GRID_RANGE = 256;
|
||||
@@ -134,7 +134,7 @@ public:
|
||||
rotation_step->set_suffix("deg");
|
||||
child_container->add_child(rotation_step);
|
||||
}
|
||||
|
||||
|
||||
void set_fields(const Point2 p_grid_offset, const Size2 p_grid_step, const float p_rotation_offset, const float p_rotation_step) {
|
||||
grid_offset_x->set_val(p_grid_offset.x);
|
||||
grid_offset_y->set_val(p_grid_offset.y);
|
||||
@@ -143,7 +143,7 @@ public:
|
||||
rotation_offset->set_val(p_rotation_offset * (180 / Math_PI));
|
||||
rotation_step->set_val(p_rotation_step * (180 / Math_PI));
|
||||
}
|
||||
|
||||
|
||||
void get_fields(Point2 &p_grid_offset, Size2 &p_grid_step, float &p_rotation_offset, float &p_rotation_step) {
|
||||
p_grid_offset.x = grid_offset_x->get_val();
|
||||
p_grid_offset.y = grid_offset_y->get_val();
|
||||
@@ -1328,7 +1328,7 @@ void CanvasItemEditor::_viewport_input_event(const InputEvent& p_event) {
|
||||
first=false;
|
||||
}
|
||||
|
||||
BoneIK bik;
|
||||
BoneIK bik;
|
||||
bik.node=b;
|
||||
bik.len=len;
|
||||
bik.orig_state=b->edit_get_state();
|
||||
@@ -2670,7 +2670,7 @@ void CanvasItemEditor::_popup_callback(int p_op) {
|
||||
}
|
||||
#endif
|
||||
} break;
|
||||
|
||||
|
||||
case SPACE_HORIZONTAL: {
|
||||
//space_selected_items< proj_vector2_x, compare_items_x >();
|
||||
} break;
|
||||
@@ -3164,7 +3164,7 @@ bool CanvasItemEditor::box_selection_end() {
|
||||
SWAP(bsfrom.x,bsto.x);
|
||||
if (bsfrom.y>bsto.y)
|
||||
SWAP(bsfrom.y,bsto.y);
|
||||
|
||||
|
||||
if ( bsfrom.distance_to( bsto ) < 3 ) {
|
||||
print_line( "box selection too small" );
|
||||
box_selecting=false;
|
||||
@@ -3183,7 +3183,7 @@ bool CanvasItemEditor::box_selection_end() {
|
||||
|
||||
box_selecting=false;
|
||||
viewport->update();
|
||||
|
||||
|
||||
return true;
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user