Fix tab indent

This commit is contained in:
Mariano Javier Suligoy 2015-07-20 22:15:06 -03:00
parent bdd12744fe
commit 2a43778793
7 changed files with 2917 additions and 2917 deletions

View File

@ -10,7 +10,7 @@ class GraphEditFilter : public Control {
OBJ_TYPE(GraphEditFilter,Control);
friend class GraphEdit;
friend class GraphEdit;
GraphEdit *ge;
virtual bool has_point(const Point2& p_point) const;
@ -73,7 +73,7 @@ private:
Array _get_connection_list() const;
friend class GraphEditFilter;
friend class GraphEditFilter;
bool _filter_input(const Point2& p_point);
protected:

View File

@ -509,7 +509,7 @@ void GraphCurveMapEdit::_plot_curve(const Vector2& p_a,const Vector2& p_b,const
lastx = CLAMP (x, 0, xmax);
lasty = CLAMP (y, 0, ymax);
/* if (fix255)
/* if (fix255)
{
cd->curve[cd->outline][lastx] = lasty;
}
@ -608,7 +608,7 @@ void GraphCurveMapEdit::_notification(int p_what){
draw_rect(Rect2( Vector2(points[i].offset,1.0-points[i].height)*get_size()-Vector2(2,2),Vector2(5,5)),col);
}
/* if (grabbed!=-1) {
/* if (grabbed!=-1) {
draw_rect(Rect2(total_w+3,0,h,h),points[grabbed].color);
}
@ -2123,7 +2123,7 @@ void ShaderGraphView::_notification(int p_what) {
ped_popup->connect("variant_changed",this,"_variant_edited");
}
}
}
void ShaderGraphView::add_node(int p_type, const Vector2 &location) {
@ -2398,9 +2398,9 @@ ShaderGraphEditorPlugin::ShaderGraphEditorPlugin(EditorNode *p_node, bool p_2d)
SpatialEditor::get_singleton()->get_shader_split()->add_child(shader_editor);
// editor->get_viewport()->add_child(shader_editor);
// shader_editor->set_area_as_parent_rect();
// shader_editor->hide();
// editor->get_viewport()->add_child(shader_editor);
// shader_editor->set_area_as_parent_rect();
// shader_editor->hide();
}