Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Extending non-transient object, clashing with other extensions #24
Dezmo has reported in the SketchUp forum that his code clashes with TrueBend, after TrueBend has been used. Calling PickHelper#pick_segment inside his namespace with seemingly malformed arguments raises an exception in TrueBend's HighDpiPickHelper.
It appears TrueBend is extending a PickHelper object that isn't actually transient, but reused as return value by View#pick_helper method.
Running this snippet over and over shows the same object ID being re-used.
To fix this clash, perhaps the delegation pattern could be used inside HighDpiPickHelper just as it is used HighDpiView.