LGTM: [skip ci] fix: Large object passed by value
This commit is contained in:
@@ -230,7 +230,7 @@ void orthoview::smooth(bool state)
|
||||
this_view->ShowSmoothLines.setValue(state);
|
||||
}
|
||||
|
||||
void orthoview::set_projection(gp_Ax2 cs)
|
||||
void orthoview::set_projection(const gp_Ax2& cs)
|
||||
{
|
||||
gp_Ax2 actual_cs;
|
||||
gp_Dir actual_X;
|
||||
|
||||
@@ -47,7 +47,7 @@ public:
|
||||
~orthoview();
|
||||
|
||||
void set_data(int r_x, int r_y);
|
||||
void set_projection(gp_Ax2 cs);
|
||||
void set_projection(const gp_Ax2& cs);
|
||||
void setPos(float = 0, float = 0);
|
||||
void setScale(float newscale);
|
||||
float getScale();
|
||||
|
||||
Reference in New Issue
Block a user