]> git.mxchange.org Git - simgear.git/commitdiff
Canvas: trigger immediate update from property tree/Nasal.
authorThomas Geymayer <tomgey@gmail.com>
Sun, 1 Jun 2014 09:58:46 +0000 (11:58 +0200)
committerThomas Geymayer <tomgey@gmail.com>
Sun, 1 Jun 2014 10:12:28 +0000 (12:12 +0200)
simgear/canvas/Canvas.cxx

index e01eb8a2c07ebe221eb7b77fc20645f814aa033c..c7898b4535df604b07de4b0ccda9fa545af708af 100644 (file)
@@ -569,6 +569,12 @@ namespace canvas
         else if( node->getIndex() == 1 )
           setSizeY( node->getIntValue() );
       }
+      else if( name == "update" )
+      {
+        if( _root_group )
+          _root_group->update(0);
+        return update(0);
+      }
       else if( name == "view" )
       {
         if( node->getIndex() == 0 )