Crash when ratio scale an object that has 0 as a size value

All closed bug reports are moved here.

Post » Tue Apr 04, 2017 8:21 pm

Open C3, create a new project, create a new object, set its width or its height to 0. Then drag any of the 8 points, and start resizing it. While resizing push Shift.

Guess it happens because you calculate the ration from initial drag values, aka it divides by 0*other value. Which is bad.


(you should really consider hiring me as a beta tester :lol: )

Code: Select all
Error report information
Type: unhandled exception
File:, line 2, col 198954
Message: Uncaught TypeError: expected finite number
Stack: TypeError: expected finite number at Function.ǃr.ǃXu ( at te.ǃyw ( at X.ǃjB ( at P.ǃSc ( at P.ǃ_M ( at Array.P.ǃRW.Z ( at ǃr.Event.ǃJFl.ǃJFo ( at window.ǃzw.dispatchEvent ( at window.ǃzw.ǃ_M ( at Array.ǃR.ǃr.ǃV.ǃr.ǃE.ǃU.B (
Construct 3 version: r15
Date: Tue Apr 04 2017 22:14:32 GMT+0200 (Paris, Madrid (heure d’été))
Uptime: 13.4 s

Platform information
Browser: Chrome
Browser version: 57.0.2987.133
Browser engine: Blink
Browser architecture: 64-bit
Context: webapp
Operating system: Windows
Operating system version: 10
Operating system architecture: 64-bit
Device type: desktop
Device pixel ratio: 1
Logical CPU cores: 8
User agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36

WebGL information
Version string: WebGL 2.0 (OpenGL ES 3.0 Chromium)
Numeric version: 2
Supports NPOT textures: yes
Vendor: Google Inc.
Renderer: ANGLE (NVIDIA GeForce GTX 970M Direct3D11 vs_5_0 ps_5_0)
Major performance caveat: no
Maximum texture size: 16384
Point size range: 1 to 1024
Extensions: EXT_color_buffer_float, EXT_disjoint_timer_query_webgl2, EXT_texture_filter_anisotropic, OES_texture_float_linear, WEBGL_compressed_texture_s3tc, WEBGL_debug_renderer_info, WEBGL_debug_shaders, WEBGL_lose_context
Posts: 252
Reputation: 3,984

Post » Wed Apr 05, 2017 1:07 pm

Thanks, fixed for r16.
Scirra Founder
Posts: 25,198
Reputation: 200,327

Return to Closed Bugs

Who is online

Users browsing this forum: No registered users and 0 guests