Conversation
remove superfluous `break`
neat for debugging demos and explorative coding, or making use of the autoreload function [1] [1] https://ipython.org/ipython-doc/3/config/extensions/autoreload.html
Member
|
that is pretty cool indeed! |
Member
|
@Licini would be nice to make better use of the data store infrastructure of Qt and make the relevant widgets simply views of that store... |
Collaborator
|
@jf--- This is super cool! Just a heads up we will be doing a big clean up in terms how UI elements are hooked up (where we wrote a lot of spaghetti code in the past making lot of things unnecessarily complicated), if you were planning to make this one of the Meanwhile I guess it will also work just as a custom |
Contributor
Author
|
@tomvanmele merging a draft would be daft; shall i whip this up to a mergeable state? |
Member
|
whip away! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
having a console besides the viewer is a nice aid to help debugging or run demo's.
the
a neat feature of the console is auto reloading python modules in the background [1],
so you can keep coding in your IDE while not having to recreate a scene / relaunch a viewer on every chance.
(probably with a clever use of QTimer rerendering the code could also be invoked automagically)
there still is an issue with this code; when adding an object via the console, it does show up in the tree widget, but not in the renderer.
[1] https://ipython.org/ipython-doc/3/config/extensions/autoreload.html