git-svn-id: svn://db.shs.com.ru/libs@665 a8b55f48-bf90-11e4-a774-851b48703e85

This commit is contained in:
2019-12-10 10:22:09 +00:00
parent 86f4e0ad78
commit 9d05dbe6da
24 changed files with 186 additions and 137 deletions

View File

@@ -237,7 +237,7 @@ void RendererService::fillHandleObjects(QVector3D center, HandleMesh ids[], cons
bool RendererService::calculateCenter() {
QList<ObjectBase*> sol = r->view->scene()->selectedObjects(true);
ObjectBaseList sol = r->view->scene()->selectedObjects(true);
if (sol.isEmpty()) return false;
selection_center = sol[0]->worldPos();
if (sol.size() > 1) {