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?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better đź’—
Register LoginAdvertisement