Remove unused code into GUI

This commit is contained in:
andrea
2022-07-11 15:10:25 +02:00
committed by Uwe
parent 094ae93678
commit 3018985f80
47 changed files with 14 additions and 1592 deletions

View File

@@ -792,18 +792,6 @@ int SelectionSingleton::setPreselect(const char* pDocName, const char* pObjectNa
if (!pSubName) pSubName = "";
if (DocName==pDocName && FeatName==pObjectName && SubName==pSubName) {
// MovePreselect is likely going to slow down large scene rendering.
// Disable it for now.
#if 0
if(hx!=x || hy!=y || hz!=z) {
hx = x;
hy = y;
hz = z;
SelectionChanges Chng(SelectionChanges::MovePreselect,
DocName,FeatName,SubName,std::string(),x,y,z);
notify(Chng);
}
#endif
return -1;
}
@@ -972,7 +960,6 @@ void SelectionSingleton::rmvPreselect(bool signal)
// notify observing objects
notify(std::move(Chng));
}
const SelectionChanges &SelectionSingleton::getPreselection(void) const
@@ -2116,7 +2103,6 @@ PyObject *SelectionSingleton::sAddSelection(PyObject * /*self*/, PyObject *args)
docObj->getNameInDocument(),
subname.c_str(), 0, 0, 0, nullptr, Base::asBoolean(clearPreselect));
}
Py_Return;
}
}