sketchucation logo sketchucation
    • Login
    🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    Icon Disappearing after Ruby Scrambled

    Scheduled Pinned Locked Moved Plugins
    3 Posts 2 Posters 339 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • E Offline
      ericschimel
      last edited by

      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?

      -Eric
      http://plugin.sketchthis.net
      Sketchup Kitchen Design Plugin
      Custom Models

      1 Reply Last reply Reply Quote 0
      • Chris FullmerC Offline
        Chris Fullmer
        last edited by

        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.

        Lately you've been tan, suspicious for the winter.
        All my Plugins I've written

        1 Reply Last reply Reply Quote 0
        • E Offline
          ericschimel
          last edited by

          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?

          -Eric
          http://plugin.sketchthis.net
          Sketchup Kitchen Design Plugin
          Custom Models

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          Buy SketchPlus
          Buy SUbD
          Buy WrapR
          Buy eBook
          Buy Modelur
          Buy Vertex Tools
          Buy SketchCuisine
          Buy FormFonts

          Advertisement