Repository navigation
Updates color types in Newton Viewer - #4897
Merged
kellyguo11 merged 5 commits intoMar 10, 2026
Merged
kellyguo11 merged 5 commits into
kellyguo11 merged 5 commits into
Conversation
matthewtrepte
requested review from
ClemensSchwarke,
Mayankm96,
Toni-SM,
hhansen-bdai,
jtigue-bdai,
kellyguo11,
masoudmoghani,
ooctipus,
pascal-roth,
peterd-NV,
sam-mady and
xyao-nv
as code owners
March 9, 2026 21:18
matthewtrepte
force-pushed
the
mtrepte/update_newton_viewer_colors
branch
from
March 9, 2026 21:26
691c6b7 to
ede33f6
Compare
matthewtrepte
force-pushed
the
mtrepte/update_newton_viewer_colors
branch
from
March 9, 2026 21:30
ede33f6 to
e82e0e4
Compare
kellyguo11
approved these changes
Mar 10, 2026
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.
Description
Currently, some imgui bindings in Newton Viewer vary in what input color format they accept, depending on train/play or env. Not sure why this is occuring. To workaround the issue, we can check which input color format imgui wants, and convert the color to that type. Also, this change should fail gracefully is there's an uncaught edge case and not crash the newton viewer.
Type of change
Screenshots
Please attach before and after screenshots of the change if applicable.
Checklist
pre-commitchecks with./isaaclab.sh --formatconfig/extension.tomlfileCONTRIBUTORS.mdor my name already exists there