Question

I have a plugin for Sketchup that is used by clients, and because this I need to Scrambler it to create a .rbs file. When the file is .rb, works perfectly, but when I scramble it to .rbs, the plugin crashes the Sketchup on Startup. Anyone know these problem?

Was it helpful?

Solution

I had this problem once, my plugin.rb checked if webdialog was already created before you created there again.

if mywebdialog.nil?;
     mywebdialog = UI :: WebDialog.new ("" ......

This code works in sketchup when it is .rb when it encrypts with Scramble .rbs it gives an error that is triggered BugSplat ... al checks in your code is not doing it.

Remove the "if mywebdialog.nil?;" And test again!

OTHER TIPS

Check if the webDialog is created before create another one.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top