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

    Avoiding "Start(Makro)Ruby operation left open"

    Scheduled Pinned Locked Moved Developers' Forum
    1 Posts 1 Posters 1.9k Views 1 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.
    • artmusicstudioA Offline
      artmusicstudio
      last edited by

      edit 180102:

      what is wrong, when my undo system works perfectly (all operation back & forth) and still the ruby-logfile shows

      "Start(Makro)Ruby operation left open: ........" ???

      i definitely have always paired starts & commits, even with on cancel & on deselect........

      edit 180101:

      is it possible to integrate everything within ONMOUSEMOVE into an operation in ONLBDOWN ?

      i would like to make a line following the mouse after first - point - click, unless second click is done,
      but all this in 1 OPERATION.

      thanx for any help or example ( the line-tool-example has no operation-declared, so it does nor help here).

      stan

      hi,
      i need a small advice.
      i just started to study the sketchup-report and found out, that, althoug i commit operations, i get a reported

      Start(Makro)Ruby operation left open

      how can i avoid this and "close" the tool in a proper way ?

      i found this text in the internet, but must confess, that i do not understand it...

      .....................

      When enabled (true):

      * Ruby Console now warns about Ruby operations left open. Leaving

      operations open is typically a bad practice. We are warning developers

      that they should try to find a different way of doing what they want to do.

      * Ruby Console now warns when a user tries to create a nested operation.

      Starting a new operation while one is still open is a bad practice. We

      would like developers to be more aware that they are doing this so that

      they can fix their code.

      .....................

      thanx for helping!!!!

      with best wishes for 2018
      stan

      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