Icon Disappearing after Ruby Scrambled
-
I have a plugin that has two icons for it that appear on the tool bar just like any other one. They are .PNG files, one for "large icons" and one for "small icons"
When the Ruby is in its natural state, and the PNG's are in the plugins directory, they display fine. When I scramble the script with Google's Ruby Script scrambler, the icons no longer show....
Anyone have any idea why?
-
How are you defining the path to the png files? My understanding is that scrambling the script will cause problems with paths....though I forget (obviously) what the precise problem is.
-
I am not defining the paths, I don't think.
In other words, when I tell Sketchup where to look for the icons, I am simply stating the filenames, as the icons reside in the plugins folder of Sketchup, which is where the plugin is as well. Do I need to define full paths to the icons?
Advertisement