X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fsynfig%2Fvaluenode_gradientrotate.cpp;h=8de8007f9e1e4f98b9aee3368c45d31187ef3c49;hb=7c6c9bc865caa5e585805199f7c2e5f595b1c030;hp=9449d71b4e3f9fd13318efa4ec1b5b4b0d2a0a19;hpb=37600b4b217caa5e316984ec0b035c5e8f9698af;p=synfig.git diff --git a/synfig-core/trunk/src/synfig/valuenode_gradientrotate.cpp b/synfig-core/trunk/src/synfig/valuenode_gradientrotate.cpp index 9449d71..8de8007 100644 --- a/synfig-core/trunk/src/synfig/valuenode_gradientrotate.cpp +++ b/synfig-core/trunk/src/synfig/valuenode_gradientrotate.cpp @@ -1,6 +1,6 @@ /* === S Y N F I G ========================================================= */ /*! \file valuenode_gradientrotate.cpp -** \brief Template File +** \brief Implementation of the "Gradient Rotate" valuenode conversion. ** ** $Id$ ** @@ -73,7 +73,7 @@ ValueNode_GradientRotate::create(const ValueBase& x) if(id!=ValueBase::TYPE_GRADIENT) { assert(0); - throw runtime_error("synfig::ValueNode_GradientRotate:Bad type "+ValueBase::type_name(id)); + throw runtime_error(String(_("Gradient Rotate"))+_(":Bad type ")+ValueBase::type_local_name(id)); } ValueNode_GradientRotate* value_node=new ValueNode_GradientRotate(x.get(Gradient())); @@ -124,7 +124,8 @@ synfig::ValueNode_GradientRotate::operator()(Time t)const bool ValueNode_GradientRotate::set_link_vfunc(int i,ValueNode::Handle x) { - assert(i>=0 && i<3); + assert(i>=0 && i=0 && i<3); + assert(i>=0 && i=0 && i<2); + assert(i>=0 && i=0 && i<2); + assert(i>=0 && i