Aerilius / sketchup-console-plus

A better Ruby Console and IDE for integrated development in SketchUp.
MIT License
42 stars 17 forks source link

SketchUp Console+ closes when Geolocating #23

Open Achill113 opened 6 years ago

Achill113 commented 6 years ago

When geolocating the console closes and needs to be reopened. No major issue, just annoying because you lose anything written in the console/editor.

Aerilius commented 6 years ago

That is a weird issue. There is no possibility in the API that could cause this exact behavior by a programming mistake in the plugin. A dialog could only close itself if there is no reference anymore pointing to it and it gets garbage-collected, but this plugin holds variables to all dialogs until they are manually closed.

I was not able to reproduce this in SketchUp Make 2017 (grabbing a snapshot) and SketchUp Pro 2017 (grabbing terrain). Can you reproduce that this issue really related to the console, or is something else wrong? What system and version do you use and how exactly did you geolocate (there is the map in "Add location" and the coordinates text entry in "Model Info")?