// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
#include "CanvasPath.hxx"
-#include <simgear/misc/parse_color.hxx>
+#include <simgear/scene/util/parse_color.hxx>
#include <osg/Drawable>
#include <osg/BlendFunc>
//----------------------------------------------------------------------------
Path::Path( 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),
_path( new PathDrawable(this) )
{
setDrawable(_path);