Commit 435191b4 authored by Hans-Christian Ebke's avatar Hans-Christian Ebke
Browse files

Changed operator== semantics DrawMode to what I suspect is more sensible.

git-svn-id: 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 50b2513a
......@@ -244,7 +244,8 @@ void DrawMode::setDrawModeProperties( const DrawModeProperties& _props )
bool DrawMode::operator==(const DrawMode& _mode) const {
return ((modeFlags_ & _mode.modeFlags_).any());
return modeFlags_ == _mode.modeFlags_;
//return ((modeFlags_ & _mode.modeFlags_).any());
DrawMode & DrawMode::operator =(const DrawMode& _mode) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment