Closed tcstewar closed 10 years ago
The NaNs are now gone: 4239fef41ec0e56000c995b9aca1e37b77fadbcc However, it's still not obvious to do on loading such models. I toyed with automatically zoom and centering, and it works nicely. But, that would then happen every time you edit something. We could set some flag to indicate that there was no import gui command in the original script to trigger that zoomCenter call.
You should be able to just use the global_offset and global_scale parameters -- if those are set (they're the same as gui[model].scale and gui[model].offset). If the default were changed to null,null rather than 0,0, this would be straightforward to detect.
done f4a16d98c34875fc7e06302d3735fb05c6816951
If you don't have nengo_gui positions defined in your script, you get all the nodes right on top of each other, and this sort of thing appears in the editor: