scratchfoundation / scratch-render

WebGL-based rendering engine for Scratch 3.0
BSD 3-Clause "New" or "Revised" License
260 stars 332 forks source link

TypeError - Cannot read property 'needsConvexHullPoints' of undefined #83

Closed thisandagain closed 6 years ago

thisandagain commented 7 years ago

Repro

Reference

Uncaught TypeError: Cannot read property 'needsConvexHullPoints' of undefined
    at RenderWebGL.getBounds (scratch-render.js:502)
    at RenderedTarget.getBounds (rendered-target.js:472)
    at RenderedTarget.isTouchingEdge (rendered-target.js:507)
    at Scratch3SensingBlocks.touchingObject (scratch3_sensing.js:40)
    at execute (execute.js:171)
    at Sequencer.stepThread (sequencer.js:109)
    at Sequencer.stepThreads (sequencer.js:67)
    at Runtime._step (runtime.js:601)
    at Runtime.<anonymous> (runtime.js:840)
SillyInventor commented 7 years ago

I think this might be related to #78, the drawable has been removed, but the clone remains.

paulkaplan commented 7 years ago

Good news, I can no longer repro. @thisandagain can you confirm?