Commit f764bbc6 authored by Laurent Belcour's avatar Laurent Belcour

[Update] Now the plugin_manager will create a vertical_segment object if

the data plugin name passed as argument is 'vertical_segment'
parent d13f07b5
......@@ -424,7 +424,7 @@ ptr<function> plugins_manager::get_function(const std::string& n)
ptr<data> plugins_manager::get_data(const std::string& n, const arguments& args)
{
if(n.empty())
if(n.empty() || n == "vertical_segment")
{
#ifdef DEBUG
std::cout << "<<DEBUG>> no data plugin specified, returning a vertical_segment loader" << std::endl;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment