Skip to content

Commit

Permalink
testing of restoring only "Visibility":
Browse files Browse the repository at this point in the history
no error
no effect: only "Visibility" of last loaded state is saved in output PVSM
  • Loading branch information
romangrothausmann committed Mar 20, 2018
1 parent 2b23f93 commit d1c63f2
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pvsm-multi.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,10 @@ def main():
print repr
d = {}
for props in repr.ListProperties():
d[props] = pvs.GetProperty(repr, props) # values of property
print props, d[props]
pvs.SetProperties(repr, **d) # test setting of properties collected so far
if props == 'Visibility':
d[props] = pvs.GetProperty(repr, props) # values of property
print props, d[props]
pvs.SetProperties(repr, **d) # test setting of properties collected so far
reppro[repr] = d


Expand Down

0 comments on commit d1c63f2

Please sign in to comment.