Closed GWydouw closed 10 years ago
Error: #<NoMethodError: undefined method `callback_handler' for nil:NilClass>
/Users/tthomas2/SourceTree/skui/src/SKUI/window.rb:232:in `send'
/Users/tthomas2/SourceTree/skui/src/SKUI/window.rb:232:in `add_callback'
This file wasn't designed to be run at SketchUp startup. It opens a window immediately. And it looks like some references are being garbage collected. Unless this is an issue that happen in production code then I don't see much point in addressing it.
I place example.rb in the plugins folder. When I startup SU, the dialog shows up but it's complete empty. When I load it from the console load('example.rb') it shows up correctly. When I place example.rb in a subdirectory of the plugins folder and after startup I load it with load('SKUI/example.rb') it works correct