You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Expected this to fail since creating a polygon mesh with negative points
# does not make sense.
polygonmesh=Geom::PolygonMesh.new(-1)
assert_kind_of(Geom::PolygonMesh,polygonmesh)
end
This crashes SU when run from the Ruby Console:
polygonmesh=Geom::PolygonMesh.new(-1)
But when run from TestUp's dialog it doesn't. The Wait cursor appears, but eventually it's possible to click. Looks like the access violation is being swallowed for some reason - not sure why.
Needs investigation. Better to crash than to end up in a weird state like this.
The text was updated successfully, but these errors were encountered:
Yea, I'm not sure what is going on. I suspect there is some oddness with the webdialog that interfere... It consistently crash with not run from within TestUp.
Been AFK for several days. I also have a Bug Splat on
deftest_initialize_negative_num_polygons# Expected this to fail since creating a polygon mesh with negative number# of polygons sounds a bit odd.# skip("Fix this, Bug Splat!") if SU_VERS_INT < 19polygonmesh=Geom::PolygonMesh.new(4, -2)assert_kind_of(Geom::PolygonMesh,polygonmesh)
testup-2/tests/SketchUp Ruby API/TC_Geom_PolygonMesh.rb
Lines 141 to 146 in a407d39
This crashes SU when run from the Ruby Console:
But when run from TestUp's dialog it doesn't. The Wait cursor appears, but eventually it's possible to click. Looks like the access violation is being swallowed for some reason - not sure why.
Needs investigation. Better to crash than to end up in a weird state like this.
The text was updated successfully, but these errors were encountered: