Explorar o código

- removed old bug workaround that hurts GraphCanvas performance (#8720)

Signed-off-by: Alex Montgomery <[email protected]>
Alex Montgomery %!s(int64=3) %!d(string=hai) anos
pai
achega
9ca82b47e1
Modificáronse 1 ficheiros con 0 adicións e 3 borrados
  1. 0 3
      Gems/GraphCanvas/Code/Source/Components/SceneComponent.cpp

+ 0 - 3
Gems/GraphCanvas/Code/Source/Components/SceneComponent.cpp

@@ -4698,9 +4698,6 @@ namespace GraphCanvas
         : m_scene(scene)
         , m_suppressContextMenu(false)
     {
-        // Workaround for QTBUG-18021
-        setItemIndexMethod(QGraphicsScene::NoIndex);
-
         setMinimumRenderSize(2.0f);
         connect(this, &QGraphicsScene::selectionChanged, this, [this]() { m_scene.OnSelectionChanged(); });
         setSceneRect(-20000, -20000, 40000, 40000);