-
Notifications
You must be signed in to change notification settings - Fork 81
Improve octree, bvh, renderer and output mode dropdowns. #1624
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
6817bb2 to
ac8c34f
Compare
| public Tooltip getTooltip(Registerable item) { | ||
| String description = item.getDescription(); | ||
| if (description != null && !description.isEmpty()) { | ||
| return new Tooltip(item.getDescription()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| return new Tooltip(item.getDescription()); | |
| return new Tooltip(description); |
|
|
||
| public static void addImplementationFactory(String name, ImplementationFactory factory) { | ||
| factories.put(name, factory); | ||
| public static void addImplementationFactory(ImplementationFactory factory) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This breaking change is bad and we should find a way to work around this (maybe a backward-compatible ImplementationFactory and a new RegisterableImplementationFactory).
| * Get all available {@code Renderer}s. | ||
| */ | ||
| Collection<? extends Registerable> getRenderers(); | ||
| Collection<Renderer> getRenderers(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This would make it impossible for plugins to implement RenderManager and have their own type of swappable renderer that is incompatible with Chunky's renderers. (Which kinda defeats the point of changing the RenderManager implementation).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh… Okay, so a renderer doesn't have to be a Renderer?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, Renderer is just the interface to work with Chunky's DefaultRenderManager.
No description provided.