]> git.mxchange.org Git - simgear.git/commitdiff
Fix uninitialized member.
authorThomas Geymayer <tomgey@gmail.com>
Wed, 20 Mar 2013 22:44:26 +0000 (23:44 +0100)
committerThomas Geymayer <tomgey@gmail.com>
Wed, 20 Mar 2013 22:44:26 +0000 (23:44 +0100)
Thanks to Chris for the catch.

simgear/canvas/elements/CanvasElement.cxx

index bb135cc173f7505df684a6b771d731af15c1e208..2abba3a415ed12f04a0e8cd0db5f72f79fb7b5e6 100644 (file)
@@ -434,6 +434,7 @@ namespace canvas
     PropertyBasedElement(node),
     _canvas( canvas ),
     _parent( parent ),
+    _attributes_dirty( 0 ),
     _transform_dirty( false ),
     _transform( new osg::MatrixTransform ),
     _style( parent_style ),