Module: synfig
Branch: gerco_opengl
Commit: a6c4896888dcefd99760f3ea167c8c71ebb810a4
URL:
http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig;a=commit;h=a6c4896888dcefd99760f3ea167c8c71ebb810a4
Author: Diego Barrios Romero <eldr...@gmailcom>
Date: Thu Mar 4 22:34:02 2010 +0100
Time vs Synfig_Time typo fix
---
synfig-core/src/synfig/valuenode_range.cpp | 8 ++++----
synfig-core/src/synfig/valuenode_range.h | 4 ++--
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/synfig-core/src/synfig/valuenode_range.cpp
b/synfig-core/src/synfig/valuenode_range.cpp
index e10058b..4767a27 100644
--- a/synfig-core/src/synfig/valuenode_range.cpp
+++ b/synfig-core/src/synfig/valuenode_range.cpp
@@ -160,7 +160,7 @@ synfig::ValueNode_Range::operator()(Synfig_Time t)const
}
synfig::ValueBase
-synfig::ValueNode_Range::get_inverse(Time t, const synfig::Vector
&target_value) const
+synfig::ValueNode_Range::get_inverse(Synfig_Time t, const synfig::Vector
&target_value) const
{
switch (get_type())
{
@@ -185,8 +185,8 @@ synfig::ValueNode_Range::get_inverse(Time t, const
synfig::Vector &target_value)
}
case ValueBase::TYPE_TIME:
{
- Real max_value((*max_)(t).get(Time()));
- Real min_value((*min_)(t).get(Time()));
+ Real max_value((*max_)(t).get(Synfig_Time()));
+ Real min_value((*min_)(t).get(Synfig_Time()));
return std::max(min_value, std::min(max_value,
target_value.mag()));
}
default:
@@ -196,7 +196,7 @@ synfig::ValueNode_Range::get_inverse(Time t, const
synfig::Vector &target_value)
}
synfig::ValueBase
-synfig::ValueNode_Range::get_inverse(Time t, const synfig::Angle
&target_value) const
+synfig::ValueNode_Range::get_inverse(Synfig_Time t, const synfig::Angle
&target_value) const
{
Angle minimum = (* min_)(t).get(Angle());
Angle maximum = (* max_)(t).get(Angle());
diff --git a/synfig-core/src/synfig/valuenode_range.h
b/synfig-core/src/synfig/valuenode_range.h
index 708629f..a85f955 100644
--- a/synfig-core/src/synfig/valuenode_range.h
+++ b/synfig-core/src/synfig/valuenode_range.h
@@ -56,8 +56,8 @@ public:
virtual String get_local_name()const;
//! Returns the modified Link to match the target value at time t
- ValueBase get_inverse(Time t, const synfig::Vector &target_value) const;
- ValueBase get_inverse(Time t, const synfig::Angle &target_value) const;
+ ValueBase get_inverse(Synfig_Time t, const synfig::Vector
&target_value) const;
+ ValueBase get_inverse(Synfig_Time t, const synfig::Angle &target_value)
const;
virtual ValueNode::LooseHandle get_link_vfunc(int i)const;
virtual int link_count()const;
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl