// Refresh the work area
get_work_area()->queue_draw();
+ get_canvas_view()->queue_rebuild_ducks();
+
//get_canvas_view()->show_tables();
get_work_area()->refresh_cursor();
get_canvas_interface()->signal_layer_new_description()(layer,layer->get_description());
egress_on_selection_change=false;
+ synfigapp::SelectionManager::LayerList layer_selection(get_canvas_view()->get_selection_manager()->get_selected_layers());
get_canvas_interface()->get_selection_manager()->clear_selected_layers();
- get_canvas_interface()->get_selection_manager()->set_selected_layer(layer);
+ layer_selection.push_back(layer);
+ get_canvas_interface()->get_selection_manager()->set_selected_layers(layer_selection);
egress_on_selection_change=true;
reset();
}
}
egress_on_selection_change=false;
+ synfigapp::SelectionManager::LayerList layer_selection(get_canvas_view()->get_selection_manager()->get_selected_layers());
get_canvas_interface()->get_selection_manager()->clear_selected_layers();
- get_canvas_interface()->get_selection_manager()->set_selected_layer(layer);
+ layer_selection.push_back(layer);
+ get_canvas_interface()->get_selection_manager()->set_selected_layers(layer_selection);
egress_on_selection_change=true;
//get_canvas_interface()->signal_dirty_preview()();
}
// Refresh the work area
get_work_area()->queue_draw();
+ get_canvas_view()->queue_rebuild_ducks();
+
App::toolbox->refresh();
}
get_canvas_interface()->signal_layer_new_description()(layer,layer->get_description());
egress_on_selection_change=false;
+ synfigapp::SelectionManager::LayerList layer_selection(get_canvas_view()->get_selection_manager()->get_selected_layers());
get_canvas_interface()->get_selection_manager()->clear_selected_layers();
- get_canvas_interface()->get_selection_manager()->set_selected_layer(layer);
+ layer_selection.push_back(layer);
+ get_canvas_interface()->get_selection_manager()->set_selected_layers(layer_selection);
egress_on_selection_change=true;
//post clean up stuff...
get_work_area()->queue_draw();
+ get_canvas_view()->queue_rebuild_ducks();
+
App::toolbox->refresh();
}
canvas=layer->get_canvas();
}
- synfigapp::SelectionManager::LayerList layer_selection;
+ synfigapp::SelectionManager::LayerList layer_selection(get_canvas_view()->get_selection_manager()->get_selected_layers());
const synfig::TransformStack& transform(get_canvas_view()->get_curr_transform_stack());
const Point point(transform.unperform(_point));