We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No description provided.
The text was updated successfully, but these errors were encountered:
Expected behavior would be to throw a TypeError, possibly to implicitly convert the input point to a point3d as is done elsewhere in the API.
In any case, we shouldn't crash SketchUp.
Sorry, something went wrong.
Logged as: SKEXT-4384
# Works class Tool def draw(view) point1 = Geom::Point3d.new(0, 0, 0) point2 = Geom::Point3d.new(1.m, 0, 0) view.draw_line(point1, point2) end end Sketchup.active_model.select_tool(Tool.new) # Crashes SketchUp class Tool def draw(view) point1 = Geom::Point3d.new(0, 0, 0) point2 = Sketchup::InputPoint.new(Geom::Point3d.new(1.m, 0, 0)) view.draw_line(point1, point2) end end Sketchup.active_model.select_tool(Tool.new)
No branches or pull requests
No description provided.
The text was updated successfully, but these errors were encountered: