Remove .gitignore do nothing is ignored.
[synfig.git] / synfig-core / trunk / src / synfig / valuenode_dotproduct.cpp
index 12a1c11..55de6ae 100644 (file)
@@ -90,6 +90,9 @@ ValueNode_DotProduct::~ValueNode_DotProduct()
 ValueBase
 ValueNode_DotProduct::operator()(Time t)const
 {
+       if (getenv("SYNFIG_DEBUG_VALUENODE_OPERATORS"))
+               printf("%s:%d operator()\n", __FILE__, __LINE__);
+
        Vector lhs((*lhs_)(t).get(Vector()));
        Vector rhs((*rhs_)(t).get(Vector()));
 
@@ -99,6 +102,8 @@ ValueNode_DotProduct::operator()(Time t)const
                return Angle::cos(lhs * rhs / lhs.mag() / rhs.mag()).mod();
        case ValueBase::TYPE_REAL:
                return lhs * rhs;
+       default:
+               break;
        }
 
        assert(0);