Merge pull request #1798 from ricpelo/ricpelo-patch-1

Missing return statement
This commit is contained in:
Juan Linietsky 2015-05-03 22:52:42 -03:00
commit 913cb443fc

View File

@ -532,7 +532,7 @@ bool Variant::is_zero() const {
} break;
case QUAT: {
*reinterpret_cast<const Quat*>(_data._mem)==Quat();
return *reinterpret_cast<const Quat*>(_data._mem)==Quat();
} break;
case MATRIX3: {