|
|
|
@ -198,10 +198,12 @@ void CSVWorld::SceneSubView::handleDrop (const std::vector< CSMWorld::UniversalI
|
|
|
|
|
CSVRender::UnpagedWorldspaceWidget* unPagedNewWidget = NULL;
|
|
|
|
|
CSVWidget::SceneToolbar* toolbar = NULL;
|
|
|
|
|
|
|
|
|
|
switch (mScene->getDropRequirements(CSVRender::WorldspaceWidget::getDropType(data)))
|
|
|
|
|
CSVRender::WorldspaceWidget::DropType type = CSVRender::WorldspaceWidget::getDropType (data);
|
|
|
|
|
|
|
|
|
|
switch (mScene->getDropRequirements (type))
|
|
|
|
|
{
|
|
|
|
|
case CSVRender::WorldspaceWidget::canHandle:
|
|
|
|
|
mScene->handleDrop(data);
|
|
|
|
|
mScene->handleDrop (data, type);
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
|
|
case CSVRender::WorldspaceWidget::needPaged:
|
|
|
|
@ -209,7 +211,7 @@ void CSVWorld::SceneSubView::handleDrop (const std::vector< CSMWorld::UniversalI
|
|
|
|
|
toolbar = makeToolbar(pagedNewWidget, widget_Paged);
|
|
|
|
|
makeConnections(pagedNewWidget);
|
|
|
|
|
replaceToolbarAndWorldspace(pagedNewWidget, toolbar);
|
|
|
|
|
mScene->handleDrop(data);
|
|
|
|
|
mScene->handleDrop (data, type);
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
|
|
case CSVRender::WorldspaceWidget::needUnpaged:
|
|
|
|
|