Final touch

This commit is contained in:
Zach Fox 2017-08-24 14:29:37 -07:00
parent 56950e4614
commit 3c7fadb1ce
2 changed files with 35 additions and 42 deletions

View file

@ -152,8 +152,6 @@ void SelectionToSceneHandler::updateSceneFromSelectedList() {
auto mainScene = qApp->getMain3DScene();
if (mainScene) {
GameplayObjects thisList = DependencyManager::get<SelectionScriptingInterface>()->getList(_listName);
if (thisList.getContainsData()) {
render::Transaction transaction;
render::ItemIDs finalList;
render::ItemID currentID;
@ -199,9 +197,6 @@ void SelectionToSceneHandler::updateSceneFromSelectedList() {
transaction.resetSelection(selection);
mainScene->enqueueTransaction(transaction);
} else {
qWarning() << "List of GameplayObjects doesn't exist in thisList";
}
} else {
qWarning() << "SelectionToSceneHandler::updateRendererSelectedList(), Unexpected null scene, possibly during application shutdown";
}

View file

@ -60,8 +60,6 @@ public:
// Selection transactions
void resetSelection(const Selection& selection);
void pushSelection(const Selection& selection);
void popSelection(const Selection& selection);
void merge(const Transaction& transaction);