Sketchup crashes with.rbs scrambled plugin
문제
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?
해결책
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!
다른 팁
Check if the webDialog is created before create another one.
제휴하지 않습니다 StackOverflow