AnalyticalGraphicsInc / gltf-vscode

This is an extension for Visual Studio Code to add support for editing glTF files.
Apache License 2.0
460 stars 63 forks source link

Put some simple guards around tree expansion. #141

Closed emackey closed 5 years ago

emackey commented 5 years ago

For #138.

Added some simple checks around where things were crashing when glTF.expandOutlineWithSelection is turned on.

Tree functionality with this setting is restored, and the correct node will auto-expand when a new tree is constructed from scratch (for example, when launching VSCode). But once the tree exists, changing the selection does not expand additional nodes.

So, this is only a partial fix.