//----------------------------------------------------------------------------
Image::Image( const CanvasWeakPtr& canvas,
- SGPropertyNode_ptr node,
- const Style& parent_style ):
- Element(canvas, node, parent_style),
+ const SGPropertyNode_ptr& node,
+ const Style& parent_style,
+ Element* parent ):
+ Element(canvas, node, parent_style, parent),
_texture(new osg::Texture2D),
_node_src_rect( node->getNode("source", 0, true) )
{