Temporary change to be backward compatible with bezier serialization

This commit is contained in:
Ahmed Essam 2020-08-07 22:14:22 +02:00
parent b3ff75846c
commit a2bc6227c3
1 changed files with 7 additions and 1 deletions

View File

@ -443,7 +443,13 @@ public:
*/
bool is_same (const Self& bc) const
{
if(this->identical(bc))
return *this == bc;
// TODO: use identical instead!
}
bool operator==(const Self& bc) const
{
if (this->identical(bc))
return true;
if (this->number_of_control_points() != bc.number_of_control_points())
return false;