* new vertex editing mode, preserving non modified vertices (=adding/removing faces automatically)
with debug prints
This commit is contained in:
@@ -83,10 +83,10 @@ struct Skew{
|
||||
Skew( std::size_t index_, float amount_ ) : index( index_ ), amount( amount_ ){
|
||||
}
|
||||
bool operator!= ( const Skew& other ) const {
|
||||
return index != other.index || amount != other.amount;
|
||||
return !( *this == other );
|
||||
}
|
||||
bool operator== ( const Skew& other ) const {
|
||||
return index == other.index && amount == other.amount;
|
||||
return ( amount == 0 && other.amount == 0 ) || ( index == other.index && amount == other.amount );
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user