code: use macros for default node functions
Easier to maintain
This commit is contained in:
@@ -61,11 +61,6 @@ PolygonGenerator::PolygonGenerator()
|
||||
poly_gizmo_ = new PathGizmo(this);
|
||||
}
|
||||
|
||||
Node *PolygonGenerator::copy() const
|
||||
{
|
||||
return new PolygonGenerator();
|
||||
}
|
||||
|
||||
QString PolygonGenerator::Name() const
|
||||
{
|
||||
return tr("Polygon");
|
||||
|
||||
Reference in New Issue
Block a user