]> git.mxchange.org Git - simgear.git/commitdiff
SGPropertyNode: add InterpolationMgr getter.
authorThomas Geymayer <tomgey@gmail.com>
Fri, 11 Jul 2014 23:05:56 +0000 (01:05 +0200)
committerThomas Geymayer <tomgey@gmail.com>
Fri, 11 Jul 2014 23:07:28 +0000 (01:07 +0200)
simgear/props/props.cxx
simgear/props/props.hxx

index 6d7047223ed58d49f14dc3a0162eb08d44b8842f..d2272c37c37c741d0ae0ccb2bfc62f23ee1f332e 100644 (file)
@@ -1695,6 +1695,12 @@ void SGPropertyNode::setInterpolationMgr(simgear::PropertyInterpolationMgr* mgr)
   _interpolation_mgr = mgr;
 }
 
+//------------------------------------------------------------------------------
+simgear::PropertyInterpolationMgr* SGPropertyNode::getInterpolationMgr()
+{
+  return _interpolation_mgr;
+}
+
 simgear::PropertyInterpolationMgr* SGPropertyNode::_interpolation_mgr = 0;
 
 //------------------------------------------------------------------------------
index 59a8a43f1b17829c5f27a54446a6b49930f8996e..8e17cc49845cdc90db39bf6dfc3344c023fc7073 100644 (file)
@@ -1302,6 +1302,11 @@ public:
    */
   static void setInterpolationMgr(simgear::PropertyInterpolationMgr* mgr);
 
+  /**
+   * Get the interpolation manager
+   */
+  static simgear::PropertyInterpolationMgr* getInterpolationMgr();
+
   /**
    * Print the value of the property to a stream.
    */