|
|
@ -319,8 +319,6 @@ UBGraphicsScene::UBGraphicsScene(UBDocumentProxy* parent, bool enableUndoRedoSta |
|
|
|
mShouldUseOMP = QSysInfo::MacintoshVersion >= QSysInfo::MV_10_5; |
|
|
|
mShouldUseOMP = QSysInfo::MacintoshVersion >= QSysInfo::MV_10_5; |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
// setItemIndexMethod(QGraphicsScene::BspTreeIndex);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
setUuid(QUuid::createUuid()); |
|
|
|
setUuid(QUuid::createUuid()); |
|
|
|
setDocument(parent); |
|
|
|
setDocument(parent); |
|
|
|
createEraiser(); |
|
|
|
createEraiser(); |
|
|
@ -1070,9 +1068,6 @@ void UBGraphicsScene::notifyZChanged(QGraphicsItem *item, qreal zValue) |
|
|
|
void UBGraphicsScene::updateSelectionFrame() |
|
|
|
void UBGraphicsScene::updateSelectionFrame() |
|
|
|
{ |
|
|
|
{ |
|
|
|
qDebug() << "selected item count" << selectedItems().count(); |
|
|
|
qDebug() << "selected item count" << selectedItems().count(); |
|
|
|
// if (!mMultipleSelectionProcess) {
|
|
|
|
|
|
|
|
// return;
|
|
|
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (!mSelectionFrame) { |
|
|
|
if (!mSelectionFrame) { |
|
|
|
mSelectionFrame = new UBSelectionFrame(); |
|
|
|
mSelectionFrame = new UBSelectionFrame(); |
|
|
|