Skip to content
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

Fix radio bug #224

Merged
merged 1 commit into from
Oct 2, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 4 additions & 1 deletion vpython/vpython.py
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ class standardAttributes(baseObj):
['red', 'green', 'blue','length', 'width', 'height']],
'points':[['color'],
[],
['visible', 'shininess', 'emissive', 'radius', 'retain', 'pickable', 'size_units'],
['visible', 'opacity', 'shininess', 'emissive', 'radius', 'retain', 'pickable', 'size_units'],
['red', 'green', 'blue']],
'label':[['pos', 'color', 'background', 'linecolor'],
[],
Expand Down Expand Up @@ -1825,12 +1825,15 @@ def process_args(self, *args1, **args):
c = None
r = None
vis = None
op = None
if 'color' in args:
c = args['color']
if 'radius' in args:
r = args['radius']
if 'visible' in args:
vis = args['visible']
if 'opacity' in args:
op = args['opacity']
if len(args1) > 0:
if len(args1) == 1:
tpos = self.parse_pos(args1[0])
Expand Down
2 changes: 1 addition & 1 deletion vpython/vpython_libraries/glow.min.js

Large diffs are not rendered by default.