sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    πŸ«› Lightbeans Update | Metallic and Roughness auto-applied in SketchUp 2025+ Download

    [Bug] view.draw_points kills next draw instruction

    Scheduled Pinned Locked Moved Developers' Forum
    6 Posts 3 Posters 968 Views 3 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.
    • thomthomT Offline
      thomthom
      last edited by

      I just noticed this:

      After using view.draw_points - the next view.draw_* method except another view.draw_points is being ignored.
      After the first following [ruby]view.draw_*[/ruby is ignored - everything works fine again.

      Thomas Thomassen β€” SketchUp Monkey & Coding addict
      List of my plugins and link to the CookieWare fund

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

        Ahh bummer, that is very odd. I have not used that method yet, though I was about to sometime this week. If I see anything different, I'll post it here.

        Chris

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

        1 Reply Last reply Reply Quote 0
        • thomthomT Offline
          thomthom
          last edited by

          Please do so.
          I noticed before some draw calls where not recognized, but I never worked out why. I just happneed to see this correlationship.

          And I wonder if this is a new one. Maybe new to 7.1. I don't have SU7.0 or SU6 installed any more...

          Thomas Thomassen β€” SketchUp Monkey & Coding addict
          List of my plugins and link to the CookieWare fund

          1 Reply Last reply Reply Quote 0
          • AdamBA Offline
            AdamB
            last edited by

            I think there is something wrong with the draw calls inside Sketchup. I've logged a bug with Google as if you do a glGetError() afterward it returns "over/underflowing matrix stack" like they've popped once too often.

            Developer of LightUp Click for website

            1 Reply Last reply Reply Quote 0
            • thomthomT Offline
              thomthom
              last edited by

              @adamb said:

              I think there is something wrong with the draw calls inside Sketchup. I've logged a bug with Google as if you do a glGetError() afterward it returns "over/underflowing matrix stack" like they've popped once too often.

              I noticed that. Do you see it after calling draw_points?

              Thomas Thomassen β€” SketchUp Monkey & Coding addict
              List of my plugins and link to the CookieWare fund

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

                I just noticed a similar "bug", but it occured when I supplied a nil value as a point3d to the draw_text method. So I thought I had recreated Thom's bug, but really it was just because I gave the method a non-existant instance variable. 😳

                Chris

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

                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