We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2464227 commit a8c0cbeCopy full SHA for a8c0cbe
src/renderedtarget.cpp
@@ -551,9 +551,6 @@ bool RenderedTarget::contains(const QPointF &point) const
551
if (!m_costume || !m_texture.isValid() || !m_cpuTexture.isValid() || !parentItem())
552
return false;
553
554
- if (m_stageModel)
555
- return true; // the stage contains any point within the scene
556
-
557
const double scaleRatio = m_skin->getTextureScale(m_texture) / m_skin->getTextureScale(m_cpuTexture);
558
QPointF translatedPoint = mapToItem(parentItem(), point);
559
translatedPoint = mapFromStageWithOriginPoint(translatedPoint);
0 commit comments