mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 16:52:10 +02:00
Final touch
This commit is contained in:
parent
56950e4614
commit
3c7fadb1ce
2 changed files with 35 additions and 42 deletions
|
@ -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";
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue